| java.lang.Object com.sun.portal.providers.ApplicationHelper com.sun.portal.providers.calendar.CalendarExpressHelper
CalendarExpressHelper | public class CalendarExpressHelper extends ApplicationHelper implements CalendarApplicationHelper(Code) | | This class implements CalendarSSOHelper and CalendarApplicationHelper 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 CalendarSSOHelper 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.
- port: Optional value. Port number of calendar server.
Defaults to "80"
- 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 String | getAppHelperEditLink(HttpServletRequest req, ProviderContext pc) | public StringBuffer | getAppPrefsEdit(CalendarProvider cprov, HttpServletRequest req, HttpServletResponse res) | public String | getApplicationURL(CalendarProvider provider, HttpServletRequest request) Returns client aware URL for calendar application access
to service associated with a particular instance
of a CalendarExpressHelper. | public String | getEventURL(CalendarProvider provider, HttpServletRequest request, VEvent event) Returns client aware URL for event access
to service associated with a particular instance
of a PortalCalendarSSOHelper. | public String | getStartURL(CalendarProvider provider, HttpServletRequest request) Returns a client URL, if supported by the service. | public String | getTaskURL(CalendarProvider provider, HttpServletRequest request, VTodo task) Returns client aware URL for task access
to service associated with a particular instance
of a PortalCalendarSSOHelper. | public void | init(CalendarProvider provider, SSOAdapter ssoAdapter) Initialize CalendarExpressHelper. | public URL | processAppPrefsEdit(CalendarProvider cprov, HttpServletRequest request, HttpServletResponse response) |
getApplicationURL | public String getApplicationURL(CalendarProvider provider, HttpServletRequest request) throws Exception(Code) | | Returns client aware URL for calendar application access
to service associated with a particular instance
of a CalendarExpressHelper.
Parameters: provider - CalendarProvider Parameters: request - HttpServletRequest |
getEventURL | public String getEventURL(CalendarProvider provider, HttpServletRequest request, VEvent event) throws Exception(Code) | | Returns client aware URL for event access
to service associated with a particular instance
of a PortalCalendarSSOHelper.
Parameters: provider - CalendarProvider Parameters: request - HttpServletRequest Parameters: event - Calendar Event |
getTaskURL | public String getTaskURL(CalendarProvider provider, HttpServletRequest request, VTodo task) throws Exception(Code) | | Returns client aware URL for task access
to service associated with a particular instance
of a PortalCalendarSSOHelper.
Parameters: provider - CalendarProvider Parameters: request - HttpServletRequest Parameters: task - Calendar Task |
|
|