public class IdType extends Object implements Serializable
IdType
defines the types of supported identities,
and provides static constants for these identities. Currently defined
identities are IdType.USER
, IdType.ROLE
,
IdType.GROUP
and IdType.AGENT
. The usage of
the respective types are defined along with their declaration.Modifier and Type | Method and Description |
---|---|
Set |
canAddMembers()
Returns a set of types of identities that this type can add as members.
|
Set |
canBeMemberOf()
Returns a set of types of identities that this type can be a member of.
|
Set |
canHaveMembers()
Returns a set of types of identities this type can hav as its' members.
|
boolean |
equals(Object type) |
String |
getName()
Returns the name of this type, for example
user for type
User. |
int |
hashCode()
Returns the hash code of the object
|
String |
toString() |
protected IdType(String type)
public int hashCode()
public String getName()
user
for type
User.public Set canHaveMembers()
IdType
which can be members of this
identity type.public Set canBeMemberOf()
IdType
.public Set canAddMembers()
IdType
.Copyright © 2010-2018, ForgeRock All Rights Reserved.