|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionTokenManager
Interface that defines a session token manager for Oracle Siebel stateless session pool authentication tokens.
Implemenations of this interface must provide a mechanism to manage a set of token pools.
Method Summary | |
---|---|
void |
destroy()
Destroy this manager instance. |
java.lang.String |
getPoolStatus(java.lang.String poolName)
Return the status of the named token pool. |
Token |
getSessionToken(java.lang.String poolName)
Return a Token instance from the named token pool. |
void |
init(java.lang.String name,
toolbox.allegato.XMLProperties xmlProps)
Initialise this manager with the given name and XML configuration properties. |
void |
releaseSessionToken(java.lang.String poolName,
Token leasedToken,
Token reissuedToken)
Return the leased token to the named pool. |
Method Detail |
---|
void init(java.lang.String name, toolbox.allegato.XMLProperties xmlProps) throws SessionTokenManagerException
name
- String containing the name of this manager instance.xmlProps
- XMLProperties instance containing the configuration
properties.
SessionTokenManagerException
- if the manager cannot be
initialised.Token getSessionToken(java.lang.String poolName) throws SessionTokenManagerException
poolName
- String containing the name of the resource pool that must
SessionTokenManagerException
- if the manager cannot return a token.void releaseSessionToken(java.lang.String poolName, Token leasedToken, Token reissuedToken) throws SessionTokenManagerException
poolName
- String containing the name of the pool to return the
token to.leasedToken
- The token that must be returned to the named pool.reissuedToken
- Token containing a reissued value.
SessionTokenManagerException
- if the manager cannot find the
a named pool.java.lang.String getPoolStatus(java.lang.String poolName)
poolName
- String containing the name of the pool.
void destroy()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |