Package com.sun.identity.entitlement
Class EntitlementSubjectImpl
- java.lang.Object
-
- com.sun.identity.entitlement.EntitlementSubjectImpl
-
- All Implemented Interfaces:
EntitlementSubject,SubjectImplementation
- Direct Known Subclasses:
GroupSubject,UserSubject
@Deprecated public abstract class EntitlementSubjectImpl extends Object implements SubjectImplementation
Deprecated.As of ForgeRock OpenAM 12.EntitlementSubject to represent group identity for membership check.
-
-
Constructor Summary
Constructors Constructor Description EntitlementSubjectImpl()Deprecated.ConstructorEntitlementSubjectImpl(String uuid)Deprecated.ConstructorEntitlementSubjectImpl(String uuid, String pSubjectName)Deprecated.Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)Deprecated.Returnstrueif the passed in object is equal to this objectStringgetID()Deprecated.Returns the Identifier.StringgetPSubjectName()Deprecated.Returns OpenAM policy subject name of the objectStringgetState()Deprecated.Returns state of the object.inthashCode()Deprecated.Returns hash code of the objectprotected booleanhasPrincipal(Subject subject, String uuid)Deprecated.booleanisExclusive()Deprecated.Returnstruefor exclusive.voidsetExclusive(boolean flag)Deprecated.Sets exclusive.voidsetID(String uuid)Deprecated.Sets the Identifier.voidsetPSubjectName(String pSubjectName)Deprecated.Sets OpenAM policy subject name of the objectvoidsetState(String state)Deprecated.Sets state of the objectorg.json.JSONObjecttoJSONObject()Deprecated.Returns JSONObject mapping of the object.StringtoString()Deprecated.Returns string representation of the object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.sun.identity.entitlement.EntitlementSubject
evaluate, getRequiredAttributeNames, getSearchIndexAttributes, isIdentity
-
-
-
-
Constructor Detail
-
EntitlementSubjectImpl
public EntitlementSubjectImpl()
Deprecated.Constructor
-
EntitlementSubjectImpl
public EntitlementSubjectImpl(String uuid)
Deprecated.Constructor- Parameters:
uuid- the universal ID of subject.
-
-
Method Detail
-
setState
public void setState(String state)
Deprecated.Sets state of the object- Specified by:
setStatein interfaceEntitlementSubject- Parameters:
state- State of the object encoded as string
-
getState
public String getState()
Deprecated.Returns state of the object.- Specified by:
getStatein interfaceEntitlementSubject- Returns:
- state of the object encoded as string.
-
toJSONObject
public org.json.JSONObject toJSONObject() throws org.json.JSONExceptionDeprecated.Returns JSONObject mapping of the object.- Returns:
- JSONObject mapping of the object.
- Throws:
org.json.JSONException
-
toString
public String toString()
Deprecated.Returns string representation of the object.
-
setID
public void setID(String uuid)
Deprecated.Sets the Identifier.- Parameters:
uuid- Identifier.
-
getID
public String getID()
Deprecated.Returns the Identifier.- Returns:
- Identifier.
-
setPSubjectName
public void setPSubjectName(String pSubjectName)
Deprecated.Sets OpenAM policy subject name of the object- Parameters:
pSubjectName- subject name as used in OpenAM policy, this is relevant only when GroupSubject was created from OpenAM policy Subject
-
getPSubjectName
public String getPSubjectName()
Deprecated.Returns OpenAM policy subject name of the object- Returns:
- subject name as used in OpenAM policy, this is relevant only when GroupSubject was created from OpenAM policy Subject
-
equals
public boolean equals(Object obj)
Deprecated.Returnstrueif the passed in object is equal to this object
-
hashCode
public int hashCode()
Deprecated.Returns hash code of the object
-
isExclusive
public boolean isExclusive()
Deprecated.Returnstruefor exclusive.- Returns:
truefor exclusive.
-
setExclusive
public void setExclusive(boolean flag)
Deprecated.Sets exclusive.- Parameters:
flag-truefor exclusive.
-
-