eu.emi.dsr.security
Class UserAttributeCallback

java.lang.Object
  extended by eu.emi.dsr.security.UserAttributeCallback
All Implemented Interfaces:
UserAttributeHandler

public class UserAttributeCallback
extends Object
implements 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 String USER_PREFERENCES_KEY
           
 
Constructor Summary
UserAttributeCallback()
           
 
Method Summary
 void processUserDefinedAttribute(String name, String nameFormat, org.apache.xmlbeans.XmlObject[] values, 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 String USER_PREFERENCES_KEY
Constructor Detail

UserAttributeCallback

public UserAttributeCallback()
Method Detail

processUserDefinedAttribute

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

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


Copyright © 2012. All Rights Reserved.