com.ibm.sec.authz.jaccplus.impl
Class ApplicationSubjectHandler
java.lang.Object
com.ibm.sec.authz.jaccplus.impl.AbstractSubjectHandler
com.ibm.sec.authz.jaccplus.impl.ApplicationSubjectHandler
All Implemented Interfaces: IAttributesHandler
public class ApplicationSubjectHandler extends AbstractSubjectHandler
This class is an instance of AttributesHandler that can be used to retrieve the Subject attributes when running
outside of a WAS container. The Subject handler data needs to be set prior to trying to retrieve attributes.
Supported attributes are:
"urn:oasis:names:tc:xacml:1.0:subject:subject-id"
"urn:oasis:names:tc:xacml:1.0:subject:group-id"
"http://security.tivoli.ibm.com/attributes/subject/authenticationToken"
Method Summary
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.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ApplicationSubjectHandler
public ApplicationSubjectHandler ()
getAttribute
public java.util.List<java.lang.Object> getAttribute (java.lang.String key,
EvaluationContext evalCtx)
throws javax.security.jacc.PolicyContextException
Description copied from interface: IAttributesHandler
This method is used to retrieve all of the required attributes from the handler data.
Specified by: getAttribute
in interface IAttributesHandler
Specified by: getAttribute
in class AbstractSubjectHandler
Parameters: key
- The attribute key used to retrieve this attributeevalCtx
- The EvaluationContext in case any callbacks are required
Returns: List. A list of all the attributes as Objects.
Throws:
javax.security.jacc.PolicyContextException
Copyright © 2009 IBM Corp. All Rights Reserved.