| java.lang.Object com.sun.ssoadapter.AbstractSSOAdapter com.sun.ssoadapter.impl.ExchangeCalendarSSOAdapter
ExchangeCalendarSSOAdapter | public class ExchangeCalendarSSOAdapter extends AbstractSSOAdapter (Code) | | This class implements CalendarSSOAdapter and CalendarApplicationAdapter functionality
specific to the Sun One Portal and Calendar services.
Specific features include:
- Support for username/password style authentication.
- Ability to generate web application URLs for the following:
- Calendar Express
- MAP JSP Calendar application. The URL generated in this
case will specify a configuration index via the
query string parameter: "ci".
At the present time, username/password is stored in the clear.
This CalendarSSOAdapter implementation consumes the following
Configuration properties:
- protocol: Required value. Specifies the protocol
JCAPI will use to connect to the calendar server.
For the time being, this should always be "http".
- uid: Required value. Username (uid) of calendar user.
- password: Required value. Password of calendar user.
- host: Required value. Name of host providing IMAP service.
- winDomain: Required value. NT domain to which user belongs.
- port: Optional value. Port number of calendar server.
- 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.
Defaults to "/jsp/default/launchCal.jsp".
- exchangeContextPath: The "request context path" to use when forming a URL
that activates Exchange OWA functionality.
Defaults to "/exchange".
- exchangeOperation: The operation to be invoked within Exchange OWA.
Defaults to null, but should be set to "calendar"
for Exchange 2000 installations.
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 CalendarSession | getCalSession() Returns a JCAPI CalSession object. | public CalendarStore | getCalStore() Returns a JCAPI CalStore 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. |
CALENDAR_DEFAULT_PROTOCOL | protected static String CALENDAR_DEFAULT_PROTOCOL(Code) | | |
calSession | protected CalendarSession calSession(Code) | | |
calStore | protected CalendarStore calStore(Code) | | |
closeConnection | public boolean closeConnection()(Code) | | Adapter specific Connection termination.
true if the connection was terminated successfully. |
getCalSession | public CalendarSession getCalSession() throws Exception(Code) | | Returns a JCAPI CalSession object.
|
getCalStore | public CalendarStore getCalStore() throws Exception(Code) | | Returns a JCAPI CalStore object.
|
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 |
|
|