com.ibm.sec.authz.jaccplus

Interface IAttributesHandler


  1. public interface IAttributesHandler
This interface implements handlers that retrieve attributes for runtime evaluation decisions.

Method Summary

Modifier and Type Method and Description
  1. 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.
  1. java.lang.String[]
getSupportedAttributes()
Retrieves all of the attributes that this handler implementation can provide.
  1. boolean
supports(java.lang.String key)
Checks whether or not this handler implementation can provide this attribute.

Method Detail

getSupportedAttributes

  1. java.lang.String[] getSupportedAttributes( )
Retrieves all of the attributes that this handler implementation can provide.
Returns:
String[]

getAttribute

  1. java.util.List<java.lang.Object> getAttribute( java.lang.String key,
  2. EvaluationContext evalCtx)
  3. throws PolicyContextException
This method is used to retrieve all of the required attributes from the handler data.
Parameters:
key - The attribute key used to retrieve this attribute.
evalCtx - The EvaluationContext in case any callbacks are required.
Returns:
List. A list of all the attributes as Objects.
Throws:
PolicyContextException

supports

  1. boolean supports(java.lang.String key)
Checks whether or not this handler implementation can provide this attribute.
Parameters:
key - The key for the attribute to retrieve.
Returns:
boolean True if this handler can retrieve the specifed attribute (key), otherwise returns false.