@Deprecated public class AnyUserSubject extends Object implements SubjectImplementation
Constructor and Description |
---|
AnyUserSubject()
Deprecated.
|
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.
|
String |
getState()
Deprecated.
Returns state of the object encoded as a JSON string.
|
boolean |
isIdentity()
Deprecated.
Returns
true is this subject is an identity object. |
void |
setState(String state)
Deprecated.
Sets state of this object from a JSON string.
|
public SubjectDecision evaluate(String realm, SubjectAttributesManager mgr, Subject subject, String resourceName, Map<String,Set<String>> environment) throws EntitlementException
EntitlementSubject
SubjectDecision
of EntitlementSubject
evaluation.evaluate
in interface EntitlementSubject
realm
- Realm name.subject
- Subject who is under evaluation.resourceName
- Resource name.environment
- Environment parameters.SubjectDecision
of Subject
evaluation.EntitlementException
- if any errors occur.public Map<String,Set<String>> getSearchIndexAttributes()
EntitlementSubject
getSearchIndexAttributes
in interface EntitlementSubject
public Set<String> getRequiredAttributeNames()
EntitlementSubject
getRequiredAttributeNames
in interface EntitlementSubject
public boolean isIdentity()
EntitlementSubject
true
is this subject is an identity object.isIdentity
in interface EntitlementSubject
true
is this subject is an identity object.public void setState(String state)
EntitlementSubject
setState
in interface EntitlementSubject
state
- State of the object encoded as a JSON stringpublic String getState()
EntitlementSubject
getState
in interface EntitlementSubject
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.