| java.lang.Object com.sun.ssoadapter.AbstractSSOAdapter com.sun.ssoadapter.impl.NotesABSSOAdapter
NotesABSSOAdapter | public class NotesABSSOAdapter extends AbstractSSOAdapter (Code) | | This class implements ABSSOAdapter and ApplicationAdapter functionality
specific to the Sun One Portal and iMS PAB service.
Specific features include:
- Support for username/password style authentication.
- Ability to generate web application URLs for the following:
- Messenger Express
- MAP JSP Addressbook application. The URL generated in this
case will specify a configuration index via the
query string parameter: "ai".
At the present time, username/password is stored in the clear.
This ABSSOAdapter implementation consumes the following
Configuration properties:
- uid: Required value. Username (uid) of imap user.
- password: Required value. Password of imap user.
- host: Required value. Name of host providing PAB service.
- abtype: The Address Book type to open (pab - for Personal Address Book
OR gal - for Global Address List). Defaults to pab.
- clientProtocol: Protocol to specify within URLs that activate
web application functionality. Defaults to "http".
- clientPort: Port to specify within URLs that that activate web
application functionality. Defaults to "80".
- jspContextPath: The "request context path" to use when forming a URL
that activates MAP JSP application functionality.
Defaults to request.getContextPath().
- jspLaunch: The document path to use when forming a URL
that activates MAP JSP application functionality.
- :
version: 1.0 See Also: com.sun.ssoadapter.SSOAdapter See Also: com.sun.ssoadapter.SSOAdapterFactory |
Method Summary | |
public boolean | closeConnection() Adapter specific Connection termination. | public ABSession | getABSession() Returns a JABAPI ABSession object. | public ABStore | getABStore() Returns a connected Ldap ABStore object. | public Object | getConnection() Adapter specific Connection. | public void | init(String adapterName, SSOToken token, Properties adapterProperties, List userPropertiesList, List encodedProperteisList, Locale locale) | public boolean | isAvailable() Tests service availability. | public void | ssoTokenChanged(SSOTokenEvent evt) Implements SSOTokenListener "ssoTokenChanged" method.
The following are possible SSO token event types:
- SSO_TOKEN_IDLE_TIMEOUT
- SSO_TOKEN_MAX_TIMEOUT
- SSO_TOKEN_DESTROY
The event getType() method is used to ensure that one of the
three types above are the basis for this event. | public void | validate() Validates configuration. |
closeConnection | public boolean closeConnection()(Code) | | Adapter specific Connection termination.
true if the connection was terminated successfully. |
getConnection | public Object getConnection()(Code) | | Adapter specific Connection.
|
init | public void init(String adapterName, SSOToken token, Properties adapterProperties, List userPropertiesList, List encodedProperteisList, Locale locale) throws SSOAdapterException(Code) | | Initialize and validate
Parameters: adapterName - Used to identify the SSOAdapter Parameters: token - Used to identify the user on who's behalf the request isbeing processed. Parameters: adapterProperties - Contains the adapter information that will drivethe operation of this instance of an SSOAdapter. |
isAvailable | public boolean isAvailable()(Code) | | Tests service availability.
|
ssoTokenChanged | public void ssoTokenChanged(SSOTokenEvent evt)(Code) | | Implements SSOTokenListener "ssoTokenChanged" method.
The following are possible SSO token event types:
- SSO_TOKEN_IDLE_TIMEOUT
- SSO_TOKEN_MAX_TIMEOUT
- SSO_TOKEN_DESTROY
The event getType() method is used to ensure that one of the
three types above are the basis for this event. If getType()
returns a type not listed above, then an SSOException is thrown.
Parameters: evt - SSOTokenEvent |
|
|