de.fzj.unicore.uas.security.util
Interface AttributeHandlingCallback


public interface AttributeHandlingCallback

Allows dealing with additional authorisation attributes by

By adding objects implementing this interface to the RequestBuilder, XACML requests can have additional attributes. When the request is built, the method(s) of this interface will be called.

Author:
schuller
See Also:
RequestBuilder#addCallback()

Method Summary
 java.util.Map<java.lang.String,java.io.Serializable> extractAttributes(eu.unicore.security.xfireutil.SecurityTokens tokens)
          retrieve a map of attributes for adding to the client attributes
 java.util.List<com.sun.xacml.ctx.Attribute> getSubjectAttributes(de.fzj.unicore.xnjs.aaa.Client client, java.lang.String action, ResourceDescriptor res)
          retrieve a list of subject attributes for adding to an XACML request
 

Method Detail

getSubjectAttributes

java.util.List<com.sun.xacml.ctx.Attribute> getSubjectAttributes(de.fzj.unicore.xnjs.aaa.Client client,
                                                                 java.lang.String action,
                                                                 ResourceDescriptor res)
retrieve a list of subject attributes for adding to an XACML request

Parameters:
client - - client
action - - the method to be executed
res - - the resource descriptor
Returns:
an attribute list

extractAttributes

java.util.Map<java.lang.String,java.io.Serializable> extractAttributes(eu.unicore.security.xfireutil.SecurityTokens tokens)
retrieve a map of attributes for adding to the client attributes

Parameters:
tokens -
Returns:


Copyright © 2006-2010 Research Center Juelich. All Rights Reserved.