|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.sec.authz.jaccplus.impl.AbstractRoleHandler
public abstract class AbstractRoleHandler
Abstract class used as a base for handlers that retrieve the names of Role attributes.
This class implements the IAttributesHandler
interface which is used to implement
handlers to retrieve attributes for use during runtime evaluation decisions.
The only supported attribute is:
"urn:oasis:names:tc:xacml:2.0:subject:role"
Field Summary | |
---|---|
static java.lang.String |
ATTR_SUBJECT_ROLE
|
Constructor Summary | |
---|---|
AbstractRoleHandler()
|
Method Summary | |
---|---|
abstract java.util.List<java.lang.Object> |
getAttribute(java.lang.String key,
EvaluationContext evalCtx)
This method is used to retrieve all of the required attributes from the handler data. |
java.lang.String[] |
getSupportedAttributes()
This method is used to retrieve all of the attributes that this Handler implementation can retrieve. |
boolean |
supports(java.lang.String key)
Method used to check whether or not this handler implementation can retrieve this attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ATTR_SUBJECT_ROLE
Constructor Detail |
---|
public AbstractRoleHandler()
Method Detail |
---|
public java.lang.String[] getSupportedAttributes()
IAttributesHandler
getSupportedAttributes
in interface IAttributesHandler
public boolean supports(java.lang.String key)
IAttributesHandler
supports
in interface IAttributesHandler
key
- The key for the attribute to retrieve.
public abstract java.util.List<java.lang.Object> getAttribute(java.lang.String key, EvaluationContext evalCtx) throws javax.security.jacc.PolicyContextException
IAttributesHandler
getAttribute
in interface IAttributesHandler
key
- The attribute key used to retrieve this attributeevalCtx
- The EvaluationContext in case any callbacks are required
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |