org.aselect.server.attributes.requestors.tgt
Class TGTAttributeRequestor

java.lang.Object
  extended by org.aselect.server.attributes.requestors.GenericAttributeRequestor
      extended by org.aselect.server.attributes.requestors.tgt.TGTAttributeRequestor
All Implemented Interfaces:
IAttributeRequestor

public class TGTAttributeRequestor
extends GenericAttributeRequestor

Retrieves 'remote_attributes' from TGT context.

Description:
An Attribute requestor which retrieves the remote_attributes parameter from a TGT context. The value of this parameter is decoded and converted to a Hashtable.

Concurrency issues:
-

Author:
Alfa & Ariss

Field Summary
protected  java.util.Hashtable _htDuplicate
           
protected  java.util.Hashtable _htReMapAttributes
           
 
Fields inherited from class org.aselect.server.attributes.requestors.GenericAttributeRequestor
_configManager, _samAgent, _systemLogger
 
Constructor Summary
TGTAttributeRequestor()
           
 
Method Summary
 void destroy()
          Clean-up the TGTAttributeRequestor.
 java.util.Hashtable getAttributes(java.util.Hashtable htTGTContext, java.util.Vector vAttributes)
          Retrieves all remote attributes that are currently in the TGT context.
 void init(java.lang.Object oConfig)
          Initialize the TGTAttributeRequestor

 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_htReMapAttributes

protected java.util.Hashtable _htReMapAttributes

_htDuplicate

protected java.util.Hashtable _htDuplicate
Constructor Detail

TGTAttributeRequestor

public TGTAttributeRequestor()
Method Detail

init

public void init(java.lang.Object oConfig)
          throws ASelectException
Initialize the TGTAttributeRequestor

Parameters:
oConfig - The configuration section to use.
Throws:
ASelectException - If configuration fails.
See Also:
IAttributeRequestor.init(java.lang.Object)

getAttributes

public java.util.Hashtable getAttributes(java.util.Hashtable htTGTContext,
                                         java.util.Vector vAttributes)
                                  throws ASelectAttributesException
Retrieves all remote attributes that are currently in the TGT context.

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)

destroy

public void destroy()
Clean-up the TGTAttributeRequestor.

See Also:
IAttributeRequestor.destroy()


Copyright © 2008 SURFnet BV. All Rights Reserved.