Class OpenSSOGroupSubject
- java.lang.Object
-
- com.sun.identity.entitlement.EntitlementSubjectImpl
-
- com.sun.identity.entitlement.GroupSubject
-
- com.sun.identity.entitlement.opensso.OpenSSOGroupSubject
-
- All Implemented Interfaces:
EntitlementSubject,SubjectImplementation
@Deprecated public class OpenSSOGroupSubject extends GroupSubject
Deprecated.As of ForgeRock OpenAM 12.This class represents group identity for membership check
-
-
Field Summary
-
Fields inherited from class com.sun.identity.entitlement.GroupSubject
GROUP_NAME
-
-
Constructor Summary
Constructors Constructor Description OpenSSOGroupSubject()Deprecated.Constructor.OpenSSOGroupSubject(String group)Deprecated.Constructor.OpenSSOGroupSubject(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.ReturnsSubjectDecisionofEntitlementSubjectevaluationSet<String>getRequiredAttributeNames()Deprecated.Returns required attribute names.Map<String,Set<String>>getSearchIndexAttributes()Deprecated.Returns search index attributes.-
Methods inherited from class com.sun.identity.entitlement.GroupSubject
isIdentity
-
Methods inherited from class com.sun.identity.entitlement.EntitlementSubjectImpl
equals, getID, getPSubjectName, getState, hashCode, hasPrincipal, isExclusive, setExclusive, setID, setPSubjectName, setState, toJSONObject, toString
-
-
-
-
Constructor Detail
-
OpenSSOGroupSubject
public OpenSSOGroupSubject()
Deprecated.Constructor.
-
OpenSSOGroupSubject
public OpenSSOGroupSubject(String group)
Deprecated.Constructor.- Parameters:
group- the uuid of the group who is member of the EntitlementSubject.
-
OpenSSOGroupSubject
public OpenSSOGroupSubject(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- Specified by:
evaluatein interfaceEntitlementSubject- Overrides:
evaluatein classGroupSubject- 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.- Specified by:
getSearchIndexAttributesin interfaceEntitlementSubject- Overrides:
getSearchIndexAttributesin classGroupSubject- Returns:
- search index attributes.
-
getRequiredAttributeNames
public Set<String> getRequiredAttributeNames()
Deprecated.Returns required attribute names.- Specified by:
getRequiredAttributeNamesin interfaceEntitlementSubject- Overrides:
getRequiredAttributeNamesin classGroupSubject- Returns:
- required attribute names.
-
-