@Deprecated public class UserSubject extends EntitlementSubjectImpl
Constructor and Description |
---|
UserSubject()
Deprecated.
Constructs an UserSubject
|
UserSubject(String user)
Deprecated.
Constructs UserSubject
|
UserSubject(String user,
String pSubjectName)
Deprecated.
Constructs UserSubject
|
Modifier and Type | Method and Description |
---|---|
SubjectDecision |
evaluate(String realm,
SubjectAttributesManager mgr,
Subject subject,
String resourceName,
Map<String,Set<String>> environment)
Deprecated.
Returns
SubjectDecision of
EntitlementSubject evaluation |
Set<String> |
getRequiredAttributeNames()
Deprecated.
Returns a set of attribute names that are used for evaluation.
|
Map<String,Set<String>> |
getSearchIndexAttributes()
Deprecated.
Returns attribute names and values that could be used for indexing.
|
boolean |
isIdentity()
Deprecated.
Returns
true is this subject is an identity object. |
equals, getID, getPSubjectName, getState, hashCode, hasPrincipal, isExclusive, setExclusive, setID, setPSubjectName, setState, toJSONObject, toString
public UserSubject()
public UserSubject(String user)
user
- the uuid of the user who is member of the EntitlementSubjectpublic UserSubject(String user, String pSubjectName)
user
- the uuid of the user who is member of the EntitlementSubjectpSubjectName
- subject name as used in OpenAM policy,
this is relevant only when UserSubject 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
evaluationcom.sun.identity.entitlement,
- EntitlementException in case
of any errorEntitlementException
- if any errors occur.public Map<String,Set<String>> getSearchIndexAttributes()
EntitlementSubject
public Set<String> getRequiredAttributeNames()
EntitlementSubject
public boolean isIdentity()
true
is this subject is an identity object.true
is this subject is an identity object.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.