org.aselect.server.attributes.requestors.opaque
Class OpaqueAttributeRequestor
java.lang.Object
org.aselect.server.attributes.requestors.GenericAttributeRequestor
org.aselect.server.attributes.requestors.opaque.OpaqueAttributeRequestor
- All Implemented Interfaces:
- IAttributeRequestor
public class OpaqueAttributeRequestor
- extends GenericAttributeRequestor
Generate an "opaque handle" attribute from the user id
Description:
Generates the SHA1 of the user id and returns this as
an attribute. The name of the attribute must be configured
in the configuration section of this attribute requestor.
Concurrency issues:
None.
- Author:
- Alfa & Ariss
Method Summary |
void |
destroy()
Destroys the OpaqueAttributeRequestor . |
java.util.Hashtable |
getAttributes(java.util.Hashtable htTGTContext,
java.util.Vector vAttributes)
Retrieve attributes from opaquehandler. |
void |
init(java.lang.Object oConfig)
Initialize the OpaqueAttributeRequestor . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpaqueAttributeRequestor
public OpaqueAttributeRequestor()
getAttributes
public java.util.Hashtable getAttributes(java.util.Hashtable htTGTContext,
java.util.Vector vAttributes)
throws ASelectAttributesException
- Retrieve attributes from opaquehandler.
- Parameters:
htTGTContext
- the TGT context.vAttributes
- The attributes to gather.
- Returns:
- The retrieved attributes.
- Throws:
ASelectAttributesException
- If gathering fails.- See Also:
IAttributeRequestor.getAttributes(java.util.Hashtable, java.util.Vector)
init
public void init(java.lang.Object oConfig)
throws ASelectException
- Initialize the
OpaqueAttributeRequestor
.
- Parameters:
oConfig
- The configuration section to use.
- Throws:
ASelectException
- If configuration fails.- See Also:
IAttributeRequestor.init(java.lang.Object)
destroy
public void destroy()
- Destroys the
OpaqueAttributeRequestor
.
- See Also:
IAttributeRequestor.destroy()
Copyright © 2008 SURFnet BV. All Rights Reserved.