WindowsCredentials Class
- java.
lang. Object - SecurityCredentials
- system.
fabric. WindowsCredentials
- system.
public class WindowsCredentials extends SecurityCredentials
Represents the active directory domain credential.
Constructor Summary
Constructor | Description |
---|---|
WindowsCredentials() |
Initializes a new instance of the system.fabric.WindowsCredentials class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Protection |
getProtectionLevel()
Gets how communication is protected, default value is ENCRYPTANDSIGN. |
List<String> |
getRemoteIdentities()
Gets the list of active directory domain identities of remote clients, each entry can be either account name or group name. |
String |
getRemoteSpn()
Gets the service principal name of remote listener, can be left empty if the remote listener runs as machine accounts. |
void |
setProtectionLevel(ProtectionLevel protectionLevel)
Sets how communication is protected, default value is ENCRYPTANDSIGN. |
void |
setRemoteSpn(String remoteSpn)
Sets the service principal name of remote listener, can be left empty if the remote listener runs as machine accounts. |
Inherited Members
Constructor Details
WindowsCredentials
public WindowsCredentials()
Initializes a new instance of the system.fabric.WindowsCredentials class.
Method Details
getProtectionLevel
public ProtectionLevel getProtectionLevel()
Gets how communication is protected, default value is ENCRYPTANDSIGN.
Returns:
getRemoteIdentities
public List
Gets the list of active directory domain identities of remote clients, each entry can be either account name or group name.
Returns:
getRemoteSpn
public String getRemoteSpn()
Gets the service principal name of remote listener, can be left empty if the remote listener runs as machine accounts.
Returns:
setProtectionLevel
public void setProtectionLevel(ProtectionLevel protectionLevel)
Sets how communication is protected, default value is ENCRYPTANDSIGN.
Parameters:
setRemoteSpn
public void setRemoteSpn(String remoteSpn)
Sets the service principal name of remote listener, can be left empty if the remote listener runs as machine accounts.
Parameters: