public class NoSubject extends Object implements SubjectImplementation
Constructor and Description |
---|
NoSubject() |
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. |
Set<String> |
getRequiredAttributeNames()
Returns a set of attribute names that are used for evaluation.
|
Map<String,Set<String>> |
getSearchIndexAttributes()
Returns attribute names and values that could be used for indexing.
|
String |
getState()
Returns state of the object encoded as a JSON string.
|
boolean |
isIdentity()
Returns
true is this subject is an identity object. |
void |
setState(String state)
Sets state of this object from a JSON string.
|
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
public Map<String,Set<String>> getSearchIndexAttributes()
EntitlementSubject
getSearchIndexAttributes
in interface EntitlementSubject
public Set<String> getRequiredAttributeNames()
EntitlementSubject
getRequiredAttributeNames
in interface EntitlementSubject
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 boolean isIdentity()
EntitlementSubject
true
is this subject is an identity object.isIdentity
in interface EntitlementSubject
true
is this subject is an identity object.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.