public class ManagementSecureGroupNode
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static ManagementSecureGroupNode |
create(org.opendof.core.oal.DOFObjectID.Authentication nodeID,
int sourceID,
int stateID,
short epoch,
CredentialSet credentials,
java.util.Map<java.lang.Integer,org.opendof.core.oal.security.DOFPermissionSet> permissions,
boolean isEnabled,
org.opendof.core.oal.DOFAuthenticator.SecureGroupNode.GroupConfig groupConfig)
Create a SecureGroup node for management.
|
CredentialSet |
getCredentials() |
short |
getEpoch()
The group's epoch, which is a counter that is incremented every time
a groups secret is changed.
|
org.opendof.core.oal.DOFAuthenticator.SecureGroupNode.GroupConfig |
getGroupConfig()
Get the node's secure group configuration.
|
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.
|
int |
getStateID()
The group's state identifier, which is a unique number that identifies the group.
|
boolean |
isEnabled()
Returns whether or not the Node is enabled.
|
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 org.opendof.core.oal.DOFAuthenticator.SecureGroupNode.GroupConfig getGroupConfig()
DOFObjectID.CLASS_GROUP, otherwise it must return the groups configuration.public org.opendof.core.oal.DOFObjectID.Authentication getNodeID()
public CredentialSet getCredentials()
public short getEpoch()
public int getStateID()
public boolean isEnabled()
public static ManagementSecureGroupNode create(org.opendof.core.oal.DOFObjectID.Authentication nodeID, int sourceID, int stateID, short epoch, CredentialSet credentials, java.util.Map<java.lang.Integer,org.opendof.core.oal.security.DOFPermissionSet> permissions, boolean isEnabled, org.opendof.core.oal.DOFAuthenticator.SecureGroupNode.GroupConfig groupConfig)
nodeID - The identifier of the node. Must not be null.sourceID - The node's source identifier.stateID - The group's state identifier.epoch - The group's epoch.credentials - The credential set for this node.permissions - The node's permissions per security scope identifier.isEnabled - Whether or not the node is enabled.groupConfig - The node's group config.