public class ManagementAuthenticationNode
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static ManagementAuthenticationNode |
create(org.opendof.core.oal.DOFObjectID.Authentication nodeID,
int sourceID,
CredentialSet credentials,
java.util.Map<java.lang.Integer,org.opendof.core.oal.security.DOFPermissionSet> permissions,
java.util.Collection<org.opendof.core.oal.DOFObjectID.Authentication> groups,
boolean isEnabled)
Create an Authentication node for authentication.
|
CredentialSet |
getCredentials()
Return the node's stored credentials that can be used to obtain a secret.
|
java.util.Collection<org.opendof.core.oal.DOFObjectID.Authentication> |
getGroups()
Get the list of secure groups that the node is a member of.
|
org.opendof.core.oal.DOFObjectID.Authentication |
getNodeID()
Returns this node's identifier.
|
java.util.Map<java.lang.Integer,org.opendof.core.oal.security.DOFPermissionSet> |
getPermissions()
Returns the node's permissions.
|
java.util.List<java.lang.Integer> |
getSecurityScopeIDs()
Convenience method that returns the node's permissions security scope identifiers.
|
int |
getSourceIdentifier()
Returns this node's source identifier.
|
boolean |
isEnabled()
Returns whether or not the Node is enabled.
|
boolean |
isMember(org.opendof.core.oal.DOFObjectID.Authentication groupID)
Return whether or not this node is a member of the specified group.
|
public int getSourceIdentifier()
public java.util.Map<java.lang.Integer,org.opendof.core.oal.security.DOFPermissionSet> getPermissions()
public java.util.List<java.lang.Integer> getSecurityScopeIDs()
public java.util.Collection<org.opendof.core.oal.DOFObjectID.Authentication> getGroups()
public boolean isMember(org.opendof.core.oal.DOFObjectID.Authentication groupID)
groupID - The group identifier to check.public org.opendof.core.oal.DOFObjectID.Authentication getNodeID()
public CredentialSet getCredentials()
public boolean isEnabled()
public static ManagementAuthenticationNode create(org.opendof.core.oal.DOFObjectID.Authentication nodeID, int sourceID, CredentialSet credentials, java.util.Map<java.lang.Integer,org.opendof.core.oal.security.DOFPermissionSet> permissions, java.util.Collection<org.opendof.core.oal.DOFObjectID.Authentication> groups, boolean isEnabled)
nodeID - The identifier of the node. Must not be null.sourceID - The node's source identifier.credentials - The credential set for this node.permissions - The node's permissions per security scope identifier.groups - The secure groups that the node is a member of.isEnabled - Whether or not the node is enabled.