public class OrSubject extends LogicalSubject
Constructor and Description |
---|
OrSubject()
Constructs OrSubject
|
OrSubject(Set<EntitlementSubject> eSubjects)
Constructs OrSubject
|
OrSubject(Set<EntitlementSubject> eSubjects,
String pSubjectName)
Constructs OrSubject
|
Modifier and Type | Method and Description |
---|---|
SubjectDecision |
evaluate(String realm,
SubjectAttributesManager mgr,
Subject subject,
String resourceName,
Map<String,Set<String>> environment)
Returns
SubjectDecision of
EntitlementSubject evaluation |
equals, getESubjects, getPSubjectName, getRequiredAttributeNames, getSearchIndexAttributes, getState, hashCode, isIdentity, setESubjects, setPSubjectName, setState, toJSONObject, toString
public OrSubject()
public OrSubject(Set<EntitlementSubject> eSubjects)
eSubjects
- wrapped EntitlementSubject(s)public OrSubject(Set<EntitlementSubject> eSubjects, String pSubjectName)
eSubjects
- wrapped EntitlementSubject(s)pSubjectName
- subject name as used in OpenAM policy,
this is relevant only when UserESubject was created from
OpenAM policy Subjectpublic SubjectDecision evaluate(String realm, SubjectAttributesManager mgr, Subject subject, String resourceName, Map<String,Set<String>> environment) throws EntitlementException
SubjectDecision
of
EntitlementSubject
evaluationrealm
- Realm name.subject
- EntitlementSubject who is under evaluation.resourceName
- Resource name.environment
- Environment parameters.SubjectDecision
of
EntitlementSubject
evaluationEntitlementException
- if any errors occur.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.