Package com.iplanet.sso.providers.dpro
Class SSOProviderImpl
- java.lang.Object
-
- com.iplanet.sso.providers.dpro.SSOProviderImpl
-
- All Implemented Interfaces:
com.iplanet.sso.SSOProvider
@Supported public final class SSOProviderImpl extends Object implements com.iplanet.sso.SSOProvider
Thisfinal
classSSOProviderImpl
implementsSSOProvider
interface and provides implementation of the methods to create , destroy , check the validity of a single sign on token.
-
-
Constructor Summary
Constructors Constructor Description SSOProviderImpl()
Constructs a instance ofSSOProviderImpl
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroyToken(SSOToken destroyer, SSOToken destroyed)
Destroys a single sign on token.Set<SSOToken>
getValidSessions(SSOToken requester, String server)
Returns a list of single sign on token objects which correspond to valid Sessions accessible to requester.
-
-
-
Constructor Detail
-
SSOProviderImpl
@Supported public SSOProviderImpl()
Constructs a instance ofSSOProviderImpl
-
-
Method Detail
-
destroyToken
@Supported public void destroyToken(SSOToken destroyer, SSOToken destroyed) throws SSOException
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.
-
-