eu.emi.dsr.security
Class UserAttributeCallback
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
USER_PREFERENCES_KEY
public static final String USER_PREFERENCES_KEY
UserAttributeCallback
public UserAttributeCallback()
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 attributenameFormat - - the NameFormatvalues - - the array of valuesmainToken - - the security tokens
Copyright © 2012. All Rights Reserved.