| java.lang.Object com.sun.ssoadapter.AbstractSSOAdapter com.sun.ssoadapter.impl.LDAPABSSOAdapter
LDAPABSSOAdapter | public class LDAPABSSOAdapter extends AbstractSSOAdapter (Code) | | This class implements SSOAdapter and ApplicationHelper 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 SSOAdapter 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.
- port : Optional value. Port number of PAB server. Defaults to
"389"
- imapHost :
- imapPort :
- aid :
- adminPassword :
- userSearchBase :
- pabSearchBase :
- lang :
- connPoolMin :
- connPoolMax :
- timeout :
- 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.
- :
author: Administrator version: 1.0 See Also: com.sun.ssoadapter.SSOAdapter See Also: com.sun.ssoadapter.SSOAdapterFactory |
CLIENT_DEFAULT_PORT | protected static String CLIENT_DEFAULT_PORT(Code) | | |
CLIENT_DEFAULT_PROTOCOL | protected static String CLIENT_DEFAULT_PROTOCOL(Code) | | |
IMAP_DEFAULT_PORT | protected static String IMAP_DEFAULT_PORT(Code) | | |
LDAP_DEFAULT_PORT | protected static String LDAP_DEFAULT_PORT(Code) | | |
lastCheckTime | protected long lastCheckTime(Code) | | |
authenticate | protected boolean authenticate()(Code) | | Authenticate the user to the given imap mail before letting the user
access the address book.
boolean Indicates if the store is valid or not. |
closeConnection | public boolean closeConnection()(Code) | | Adapter specific Connection termination.
true if the connection was terminated successfully. |
getABSession | public ABSession getABSession() throws Exception(Code) | | Returns a JABAPI ABSession object.
The aBSession value |
getABStore | public ABStore getABStore() throws Exception(Code) | | Returns a connected Ldap ABStore object.
The aBStore value |
getConnection | public Object getConnection()(Code) | | Adapter specific Connection.
The connection value |
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 therequest is being 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.
The available value |
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 |
|
|