public class PortletPreferencesCredentialsAuthenticationService extends BaseCredentialsAuthenticationService
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY |
adminParameters, configParams, userParameters| Constructor and Description |
|---|
PortletPreferencesCredentialsAuthenticationService() |
| Modifier and Type | Method and Description |
|---|---|
javax.mail.Authenticator |
getAuthenticator(javax.portlet.PortletRequest request,
MailStoreConfiguration config) |
org.apache.http.auth.Credentials |
getCredentials(javax.portlet.PortletRequest req,
MailStoreConfiguration config)
Returns a credentials object.
|
String |
getKey()
Return the unique key for this authentication service.
|
String |
getMailAccountName(javax.portlet.PortletRequest req,
MailStoreConfiguration config) |
boolean |
isConfigured(javax.portlet.PortletRequest req,
MailStoreConfiguration config)
True if the specified parameters contain enough information
to build a valid Authenticator if they were passed to the
IAuthenticationService.getAuthenticator(PortletRequest, MailStoreConfiguration) method. |
createMailAccountName, createNTCredentials, getAdminConfigurationParameters, getConfigurationParametersMap, getUserConfigurationParameters, setAdminParameters, setConfigParams, setUserParameterspublic static final String KEY
public PortletPreferencesCredentialsAuthenticationService()
public boolean isConfigured(javax.portlet.PortletRequest req,
MailStoreConfiguration config)
IAuthenticationServiceTrue if the specified parameters contain enough information
to build a valid Authenticator if they were passed to the
IAuthenticationService.getAuthenticator(PortletRequest, MailStoreConfiguration) method.public javax.mail.Authenticator getAuthenticator(javax.portlet.PortletRequest request,
MailStoreConfiguration config)
public org.apache.http.auth.Credentials getCredentials(javax.portlet.PortletRequest req,
MailStoreConfiguration config)
IAuthenticationServicepublic String getMailAccountName(javax.portlet.PortletRequest req, MailStoreConfiguration config)
public String getKey()
IAuthenticationServiceCopyright © 2015 Jasig. All Rights Reserved.