de.fzj.unicore.uas.security
Class UserAttributeCallback

java.lang.Object
  extended by de.fzj.unicore.uas.security.UserAttributeCallback
All Implemented Interfaces:
eu.unicore.security.xfireutil.UserAttributeHandler

public class UserAttributeCallback
extends java.lang.Object
implements eu.unicore.security.xfireutil.UserAttributeHandler

Callback class that handles additional attributes in the User assertion.

Currently the following user preferences are recognized: uid, gid, supplementary_gids and role.

Author:
schuller, golbi
See Also:
AuthInHandler

Field Summary
static java.lang.String USER_PREFERENCES_KEY
           
 
Constructor Summary
UserAttributeCallback()
           
 
Method Summary
 void processUserDefinedAttribute(java.lang.String name, java.lang.String nameFormat, org.apache.xmlbeans.XmlObject[] values, eu.unicore.security.xfireutil.SecurityTokens mainToken)
          process an attribute defined in the User assertion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER_PREFERENCES_KEY

public static final java.lang.String USER_PREFERENCES_KEY
Constructor Detail

UserAttributeCallback

public UserAttributeCallback()
Method Detail

processUserDefinedAttribute

public void processUserDefinedAttribute(java.lang.String name,
                                        java.lang.String nameFormat,
                                        org.apache.xmlbeans.XmlObject[] values,
                                        eu.unicore.security.xfireutil.SecurityTokens mainToken)
process an attribute defined in the User assertion

Specified by:
processUserDefinedAttribute in interface eu.unicore.security.xfireutil.UserAttributeHandler
Parameters:
name - - the name of the attribute
nameFormat - - the NameFormat
values - - the array of values
mainToken - - the security tokens


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