public class StaticAttributes extends Object implements ResourceAttribute
ResourceAttribute
Constructor and Description |
---|
StaticAttributes()
Constructs an instance of StaticAttributes
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Returns
true if the passed in object is equal to this object |
Map<String,Set<String>> |
evaluate(Subject adminSubject,
String realm,
Subject subject,
String resourceName,
Map<String,Set<String>> environment)
Returns resoruce attributes aplicable to the request
|
String |
getPResponseProviderName()
Returns OpenAM policy response provider name of the object
|
String |
getPropertyName()
Returns property name.
|
Set<String> |
getPropertyValues()
Returns property values.
|
String |
getState()
Returns the state of this object.
|
int |
hashCode()
Returns hash code of the object
|
void |
setPResponseProviderName(String pResponseProviderName)
Sets OpenAM policy response provider name of the object
|
void |
setPropertyName(String propertyName)
Sets property name.
|
void |
setPropertyValues(Set<String> propertyValues) |
void |
setState(String s)
Sets the state of the object.
|
String |
toString()
Returns string representation of the object
|
public StaticAttributes()
public String getPropertyName()
ResourceAttribute
getPropertyName
in interface ResourceAttribute
public void setPropertyName(String propertyName)
ResourceAttribute
setPropertyName
in interface ResourceAttribute
propertyName
- property name.public Set<String> getPropertyValues()
ResourceAttribute
getPropertyValues
in interface ResourceAttribute
ResourceAttribute
.public Map<String,Set<String>> evaluate(Subject adminSubject, String realm, Subject subject, String resourceName, Map<String,Set<String>> environment) throws EntitlementException
evaluate
in interface ResourceAttribute
adminSubject
- Subject who is performing the evaluation.realm
- Realm name.subject
- Subject who is under evaluation.resourceName
- Resource name.environment
- Environment parameters.EntitlementException
- if can not get condition decisionpublic String getState()
getState
in interface ResourceAttribute
public void setState(String s)
setState
in interface ResourceAttribute
s
- state of the object.public String toString()
public void setPResponseProviderName(String pResponseProviderName)
setPResponseProviderName
in interface ResourceAttribute
pResponseProviderName
- response provider name as used in OpenAM
policy, this is relevant only when StaticAttributes was created
from OpenAM policy Subjectpublic String getPResponseProviderName()
getPResponseProviderName
in interface ResourceAttribute
public boolean equals(Object obj)
true
if the passed in object is equal to this objectCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.