WindowsCredentials 类

定义

Represents the active directory domain credential.

public class WindowsCredentials extends SecurityCredentials
继承
java.lang.Object
WindowsCredentials

继承成员

构造函数

WindowsCredentials()

Initializes a new instance of the system.fabric.WindowsCredentials class.

方法

getProtectionLevel()

Gets how communication is protected, default value is ENCRYPTANDSIGN.

getRemoteIdentities()

Gets the list of active directory domain identities of remote clients, each entry can be either account name or group name.

getRemoteSpn()

Gets the service principal name of remote listener, can be left empty if the remote listener runs as machine accounts.

setProtectionLevel(ProtectionLevel protectionLevel)

Sets how communication is protected, default value is ENCRYPTANDSIGN.

setRemoteSpn(String remoteSpn)

Sets the service principal name of remote listener, can be left empty if the remote listener runs as machine accounts.

适用于