public static final class DOFAuthenticator.RemoteDomainNode extends java.lang.Object implements DOFImmutable, java.io.Serializable
Modifier and Type | Method and Description |
---|---|
static DOFAuthenticator.RemoteDomainNode |
create(DOFObjectID.Authentication nodeID,
byte[] privateStorage,
int remoteDomainIdentifier,
DOFObjectID.Authentication localNode,
boolean isEnabled)
Create a RemoteDomain node for authentication.
|
static DOFAuthenticator.RemoteDomainNode |
create(DOFObjectID.Authentication nodeID,
java.util.List<java.lang.Integer> credentialTypes,
int remoteDomainIdentifier,
DOFObjectID.Authentication defaultLocalNode,
java.util.Map<DOFObjectID.Authentication,DOFObjectID.Authentication> initiatorLocalNodeMap,
boolean isEnabled)
Create a RemoteDomain node for management.
|
byte[] |
getCredentialsStorage()
Return the node's stored credentials that can be used to obtain a secret.
|
java.util.List<java.lang.Integer> |
getCredentialTypes()
Returns a list of credential types this node has.
|
DOFObjectID.Authentication |
getDefaultLocalNode()
Get the default local node, to be used if there is no initiator mapping.
|
java.util.Map<DOFObjectID.Authentication,DOFObjectID.Authentication> |
getInitiatorLocalNodeMap()
Returns the mapping of all assigned initiators to their associated local nodes.
|
DOFObjectID.Authentication |
getLocalID()
Get the local identity of the node related to the remote domain, for nodes that
represent a remote domain.
|
DOFObjectID.Authentication |
getNodeID()
Returns this node's identifier.
|
int |
getRemoteDomainIdentifier()
Get the node's remote domain identifier for nodes that represent remote domains.
|
boolean |
isEnabled()
Returns whether or not the node is isEnabled.
|
public int getRemoteDomainIdentifier()
public DOFObjectID.Authentication getLocalID()
public DOFObjectID.Authentication getNodeID()
public byte[] getCredentialsStorage()
public java.util.List<java.lang.Integer> getCredentialTypes()
public boolean isEnabled()
public java.util.Map<DOFObjectID.Authentication,DOFObjectID.Authentication> getInitiatorLocalNodeMap()
public DOFObjectID.Authentication getDefaultLocalNode()
public static DOFAuthenticator.RemoteDomainNode create(DOFObjectID.Authentication nodeID, byte[] privateStorage, int remoteDomainIdentifier, DOFObjectID.Authentication localNode, boolean isEnabled)
nodeID
- The identifier of the node. Must not be null.privateStorage
- The credential private storage for the node.remoteDomainIdentifier
- The rdid of this remote domain node.localNode
- The current local node of this remote domain node.isEnabled
- Whether or not the node is isEnabled.public static DOFAuthenticator.RemoteDomainNode create(DOFObjectID.Authentication nodeID, java.util.List<java.lang.Integer> credentialTypes, int remoteDomainIdentifier, DOFObjectID.Authentication defaultLocalNode, java.util.Map<DOFObjectID.Authentication,DOFObjectID.Authentication> initiatorLocalNodeMap, boolean isEnabled)
nodeID
- The identifier of the node. Must not be null.credentialTypes
- The list of credential types this node has.remoteDomainIdentifier
- The rdid of this remote domain node.defaultLocalNode
- The default local node of this remote domain node, if there is one.initiatorLocalNodeMap
- The mapping of all assigned initiators to their associated local nodes.isEnabled
- Whether or not the node is isEnabled.