Package com.sun.identity.entitlement
Class GroupSubject
- java.lang.Object
-
- com.sun.identity.entitlement.EntitlementSubjectImpl
-
- com.sun.identity.entitlement.GroupSubject
-
- All Implemented Interfaces:
EntitlementSubject,SubjectImplementation
- Direct Known Subclasses:
OpenSSOGroupSubject
@Deprecated public class GroupSubject extends EntitlementSubjectImpl
Deprecated.As of ForgeRock OpenAM 12.This class represents group identity for membership check
-
-
Field Summary
Fields Modifier and Type Field Description static StringGROUP_NAMEDeprecated.
-
Constructor Summary
Constructors Constructor Description GroupSubject()Deprecated.Constructor.GroupSubject(String group)Deprecated.Constructor.GroupSubject(String group, String pSubjectName)Deprecated.Constructs GroupSubject
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SubjectDecisionevaluate(String realm, SubjectAttributesManager mgr, Subject subject, String resourceName, Map<String,Set<String>> environment)Deprecated.ReturnsSubjectDecisionofEntitlementSubjectevaluation.Set<String>getRequiredAttributeNames()Deprecated.Returns required attribute names.Map<String,Set<String>>getSearchIndexAttributes()Deprecated.Returns search index attributes.booleanisIdentity()Deprecated.Returnstrueis this subject is an identity object.-
Methods inherited from class com.sun.identity.entitlement.EntitlementSubjectImpl
equals, getID, getPSubjectName, getState, hashCode, hasPrincipal, isExclusive, setExclusive, setID, setPSubjectName, setState, toJSONObject, toString
-
-
-
-
Field Detail
-
GROUP_NAME
public static final String GROUP_NAME
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GroupSubject
public GroupSubject()
Deprecated.Constructor.
-
GroupSubject
public GroupSubject(String group)
Deprecated.Constructor.- Parameters:
group- the uuid of the group who is member of the EntitlementSubject.
-
GroupSubject
public GroupSubject(String group, String pSubjectName)
Deprecated.Constructs GroupSubject- Parameters:
group- the uuid of the group who is member of the EntitlementSubjectpSubjectName- subject name as used in OpenAM policy, this is relevant only when GroupSubject was created from OpenAM policy Subject
-
-
Method Detail
-
evaluate
public SubjectDecision evaluate(String realm, SubjectAttributesManager mgr, Subject subject, String resourceName, Map<String,Set<String>> environment) throws EntitlementException
Deprecated.ReturnsSubjectDecisionofEntitlementSubjectevaluation.- Parameters:
realm- Realm name.subject- EntitlementSubject who is under evaluation.resourceName- Resource name.environment- Environment parameters.- Returns:
SubjectDecisionofEntitlementSubjectevaluation- Throws:
EntitlementException- if any errors occur.
-
getSearchIndexAttributes
public Map<String,Set<String>> getSearchIndexAttributes()
Deprecated.Returns search index attributes.- Returns:
- search index attributes.
-
getRequiredAttributeNames
public Set<String> getRequiredAttributeNames()
Deprecated.Returns required attribute names.- Returns:
- required attribute names.
-
isIdentity
public boolean isIdentity()
Deprecated.Returnstrueis this subject is an identity object.- Returns:
trueis this subject is an identity object.
-
-