org.jasig.portlet.emailpreview.service.auth
Interface IAuthenticationService

All Known Implementing Classes:
CachedPasswordAuthenticationServiceImpl, DemoAuthenticationService, PortletPreferencesCredentialsAuthenticationServiceImpl

public interface IAuthenticationService


Method Summary
 List<ConfigurationParameter> getAdminConfigurationParameters()
           
 javax.mail.Authenticator getAuthenticator(javax.portlet.PortletRequest request, MailStoreConfiguration config)
           
 Map<String,ConfigurationParameter> getConfigurationParametersMap()
           
 String getKey()
          Return the unique key for this authentication service.
 String getMailAccountName(javax.portlet.PortletRequest request, MailStoreConfiguration config)
           
 List<ConfigurationParameter> getUserConfigurationParameters()
           
 boolean isConfigured(javax.portlet.PortletRequest request, MailStoreConfiguration config)
          True if the specified parameters contain enough information to build a valid Authenticator if they were passed to the getAuthenticator(PortletRequest, MailStoreConfiguration) method.
 

Method Detail

getKey

String getKey()
Return the unique key for this authentication service. This key will be used to retrieve an authentication service instance from the registry.

Returns:

isConfigured

boolean isConfigured(javax.portlet.PortletRequest request,
                     MailStoreConfiguration config)
True if the specified parameters contain enough information to build a valid Authenticator if they were passed to the getAuthenticator(PortletRequest, MailStoreConfiguration) method.

Parameters:
request -
config -
Returns:

getAuthenticator

javax.mail.Authenticator getAuthenticator(javax.portlet.PortletRequest request,
                                          MailStoreConfiguration config)
Parameters:
request -
config -
Returns:

getMailAccountName

String getMailAccountName(javax.portlet.PortletRequest request,
                          MailStoreConfiguration config)

getAdminConfigurationParameters

List<ConfigurationParameter> getAdminConfigurationParameters()

getUserConfigurationParameters

List<ConfigurationParameter> getUserConfigurationParameters()

getConfigurationParametersMap

Map<String,ConfigurationParameter> getConfigurationParametersMap()


Copyright © 2012 Jasig. All Rights Reserved.