| java.lang.Object com.sun.portal.providers.ApplicationHelper com.sun.portal.providers.mail.MessengerExpressHelper
MessengerExpressHelper | public class MessengerExpressHelper extends ApplicationHelper implements MailApplicationHelper(Code) | | This class implements the MailApplicationHelper
Specific features include:
- Support for username/password style authentication.
- Ability to generate web application URLs for the following:
At the present time, username/password is stored in the clear.
This SSOAdapter implementation consumes the following Configuration
properties:
- protocol : Required value. Must be either "imap" or "pop3".
- uid : Required value. Username (uid) of imap user.
- password : Required value. Password of imap user.
- host : Required value. Name of host providing IMAP service.
- port : Optional value. Port number of IMAP server. Defaults to
"143" when protocol is "imap", and "110" when protocol is "pop3".
- smtpServer : Optional value. Specifies name of outgoing mail
server. Defaults to value of host property.
- 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".
- checkInterval : Specifies, in milliseconds, the minimum
interval between web application activity checks.
author: John Saare version: 1.0 See Also: com.sun.ssoadapter.SSOAdapter |
Method Summary | |
public String | getAppHelperEditLink(HttpServletRequest req, ProviderContext pc) | public StringBuffer | getAppPrefsEdit(MailProvider mprov, HttpServletRequest req, HttpServletResponse res) | public String | getApplicationURL(MailProvider provider, HttpServletRequest request) Returns client aware URL for mail application access
to service associated with a particular instance
of a MessengerExpressHelper. | public String | getMessageURL(MailProvider provider, HttpServletRequest request, Message message) Returns client aware URL for message access
to service associated with a particular instance
of a PortalMailSSOHelper. | public String | getStartURL(MailProvider provider, HttpServletRequest request) Returns a client URL, if supported by the service. | public void | init(MailProvider provider, SSOAdapter ssoAdapter) Initialize MessengerExpressHelper. | public URL | processAppPrefsEdit(MailProvider mprov, HttpServletRequest request, HttpServletResponse response) |
adapterProperties | public Properties adapterProperties(Code) | | Description of the Field
|
getAppPrefsEdit | public StringBuffer getAppPrefsEdit(MailProvider mprov, HttpServletRequest req, HttpServletResponse res)(Code) | | Returns the contents of the MailProviders edit page
Parameters: mprov - Description of the Parameter Parameters: req - Description of the Parameter Parameters: res - Description of the Parameter The appPrefsEdit value |
getApplicationURL | public String getApplicationURL(MailProvider provider, HttpServletRequest request) throws Exception(Code) | | Returns client aware URL for mail application access
to service associated with a particular instance
of a MessengerExpressHelper.
Parameters: provider - MailProvider Parameters: request - HttpServletRequest |
getStartURL | public String getStartURL(MailProvider provider, HttpServletRequest request)(Code) | | Returns a client URL, if supported by the service.
Parameters: provider - MailProvider Parameters: ssoAdapter - SSOAdapter |
|
|