| java.lang.Object com.sun.ssoadapter.AbstractSSOAdapter com.sun.ssoadapter.impl.WabpSSOAdapter
WabpSSOAdapter | public class WabpSSOAdapter extends AbstractSSOAdapter (Code) | |
This class is responsible for retrieving a user's Address Book from
the Address Book Server using the Java Address Book API (JABAPI).
WABP: Web Address Book Protocol
This SSOAdapter implementation consumes the following Configuration
properties:
- Required Properties
- uid : username (uid) of address book user.
- password : password of address book user.
- host : address book server host.
- port : address book server port. defaults to "80".
- protocol : address book server protocol. defaults to "http".
- uwcContext : address book server context uri. defaults
to "uwc".
- Optional Properties
URL format:
://://wabp/login.wabp?
username=@&password=
author: Dean Polla author: created May 24, 2004 version: 1.0 See Also: com.sun.ssoadapter.SSOAdapter See Also: com.sun.ssoadapter.SSOAdapterFactory |
CLIENT_DEFAULT_PORT | final protected static String CLIENT_DEFAULT_PORT(Code) | | |
CLIENT_DEFAULT_PROTOCOL | final protected static String CLIENT_DEFAULT_PROTOCOL(Code) | | |
WABP_CONTEXT_URI | protected static String WABP_CONTEXT_URI(Code) | | |
WABP_SERVICE_CLASS | protected static String WABP_SERVICE_CLASS(Code) | | |
WABP_USER_PASSWORD | protected static String WABP_USER_PASSWORD(Code) | | |
closeConnection | public boolean closeConnection()(Code) | | Adapter specific Connection termination.
true if the connection was terminated successfully. |
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 |
|
|