com.sun.identity.idm
クラス IdType

java.lang.Object
  上位を拡張 com.sun.identity.idm.IdType

public class IdType
extends Object

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.

関連項目:
直列化された形式

フィールドの概要
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
 
コンストラクタの概要
protected IdType(String type)
           
 
メソッドの概要
 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()
           
 

フィールドの詳細

USER

public static final IdType USER
Identity type of USER


ROLE

public static final IdType ROLE
Identity type of ROLE


GROUP

public static final IdType GROUP
Identity type of GROUP


AGENT

public static final 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.


FILTEREDROLE

public static final IdType FILTEREDROLE
Identity type of filter role.


REALM

public static final IdType REALM

AGENTONLY

public static final IdType AGENTONLY
Identity type of OpenSSO agent only.


AGENTGROUP

public static final IdType AGENTGROUP
Identity type of OpenSSO agents under the OpenSSO agent groups.

コンストラクタの詳細

IdType

protected IdType(String type)
メソッドの詳細

equals

public boolean equals(Object type)
オーバーライド:
クラス Object 内の equals

toString

public String toString()
オーバーライド:
クラス Object 内の toString

hashCode

public int hashCode()
Returns the hash code of the object

オーバーライド:
クラス Object 内の hashCode

getName

public String getName()
Returns the name of this type, for example user for type User.

戻り値:
Name of the this type.

canHaveMembers

public Set canHaveMembers()
Returns a set of types of identities this type can hav as its' members.

戻り値:
Set of IdType which can be members of this identity type.

canBeMemberOf

public Set canBeMemberOf()
Returns a set of types of identities that this type can be a member of.

戻り値:
Set of IdType.

canAddMembers

public Set canAddMembers()
Returns a set of types of identities that this type can add as members.

戻り値:
Set of IdType.