|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.idm.IdType
public class IdType
The class 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.
Field Summary | |
---|---|
static IdType |
AGENT
Identity type of AGENT Also from OpenSSO 8.0 onwards, this is the Identity type of the union of agents and those under the agent groups. |
static IdType |
AGENTGROUP
Identity type of OpenSSO agents under the OpenSSO agent groups. |
static IdType |
AGENTONLY
Identity type of OpenSSO agent only. |
static IdType |
FILTEREDROLE
Identity type of filter role. |
static IdType |
GROUP
Identity type of GROUP |
static IdType |
REALM
|
static IdType |
ROLE
Identity type of ROLE |
static IdType |
USER
Identity type of USER |
Constructor Summary | |
---|---|
protected |
IdType(String type)
|
Method Summary | |
---|---|
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()
|
Field Detail |
---|
public static final IdType USER
public static final IdType ROLE
public static final IdType GROUP
public static final IdType AGENT
public static final IdType FILTEREDROLE
public static final IdType REALM
public static final IdType AGENTONLY
public static final IdType AGENTGROUP
Constructor Detail |
---|
protected IdType(String type)
Method Detail |
---|
public boolean equals(Object type)
equals
in class Object
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
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
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |