|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAttributeRequestor
The interface for Attribute Requestors.
Description:
An Attribute Requestor's job is to obtain attributes
associated with a certain user id (UID).
They are used as follows:
The AttributeGatherer
instantiates each
configured Attribute Requestor, invokes its
getAttributes()
method, and processes the result.
Therefore, an Attribute Requestor object does not have
to be reusable. They are destroyed once they have done
their job.
Concurrency issues:
-
Method Summary | |
---|---|
void |
destroy()
Clean up used resources. |
java.util.Hashtable |
getAttributes(java.util.Hashtable htTGTContext,
java.util.Vector vAttributes)
Retrieve the specified attributes. |
void |
init(java.lang.Object oConfig)
Initialize the IAttributeRequestor implementation. |
Method Detail |
---|
void init(java.lang.Object oConfig) throws ASelectException
IAttributeRequestor
implementation.
oConfig
- The configuration section to use.
ASelectException
- If configuration fails.java.util.Hashtable getAttributes(java.util.Hashtable htTGTContext, java.util.Vector vAttributes) throws ASelectAttributesException
vAttributes
.
htTGTContext != null
vAttributes != null
vAttributes
.
htTGTContext
- the TGT context.vAttributes
- The attributes to gather.
ASelectAttributesException
- If gathering fails.void destroy()
IAttributeRequestor
implementation is stopped.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |