Package com.iplanet.sso.providers.dpro
Class SSOProviderImpl
java.lang.Object
com.iplanet.sso.providers.dpro.SSOProviderImpl
- All Implemented Interfaces:
com.iplanet.sso.SSOProvider
This
final
class SSOProviderImpl
implements
SSOProvider
interface and provides implementation of the methods
to create , destroy , check the validity of a single sign on token.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroyToken
(SSOToken destroyer, SSOToken destroyed) Destroys a single sign on token.getValidSessions
(SSOToken requester, String server) Returns a list of single sign on token objects which correspond to valid Sessions accessible to requester.
-
Constructor Details
-
SSOProviderImpl
Constructs a instance ofSSOProviderImpl
-
-
Method Details
-
destroyToken
Destroys a single sign on token.- Parameters:
destroyer
- The single sign on token object used to authorize the operationdestroyed
- The single sign on token object to be destroyed.- Throws:
SSOException
- if the there was an error during communication with session service.
-
getValidSessions
@Supported public Set<SSOToken> getValidSessions(SSOToken requester, String server) throws SSOException Returns a list of single sign on token objects which correspond to valid Sessions accessible to requester. single sign on token objects returned are restricted: they can only be used to retrieve properties and destroy sessions they represent.- Parameters:
requester
- The single sign on token object used to authorize the operationserver
- The server for which the valid sessions are to be retrieved- Returns:
- Set of Valid Sessions
- Throws:
SSOException
- if the there was an error during communication with session service.
-