org.jasig.portlet.emailpreview.service.auth
Class BaseCredentialsAuthenticationService

java.lang.Object
  extended by org.jasig.portlet.emailpreview.service.auth.BaseCredentialsAuthenticationService
All Implemented Interfaces:
IAuthenticationService
Direct Known Subclasses:
CachedPasswordAuthenticationService, CasAuthenticationService, PortletPreferencesCredentialsAuthenticationService

public abstract class BaseCredentialsAuthenticationService
extends Object
implements IAuthenticationService

Description

Author:
James Wennmacher, jwennmacher@unicon.net

Field Summary
protected  List<ConfigurationParameter> adminParameters
           
protected  Map<String,ConfigurationParameter> configParams
           
protected  List<ConfigurationParameter> userParameters
           
 
Constructor Summary
BaseCredentialsAuthenticationService()
           
 
Method Summary
protected  String createMailAccountName(String accountName, MailStoreConfiguration config)
           
protected  org.apache.http.auth.Credentials createNTCredentials(String ntlmDomain, String username, String password)
           
 List<ConfigurationParameter> getAdminConfigurationParameters()
           
 Map<String,ConfigurationParameter> getConfigurationParametersMap()
           
 List<ConfigurationParameter> getUserConfigurationParameters()
           
protected  void setAdminParameters(List<ConfigurationParameter> params)
           
protected  void setConfigParams(Map<String,ConfigurationParameter> params)
           
protected  void setUserParameters(List<ConfigurationParameter> params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jasig.portlet.emailpreview.service.auth.IAuthenticationService
getAuthenticator, getCredentials, getKey, getMailAccountName, isConfigured
 

Field Detail

userParameters

protected List<ConfigurationParameter> userParameters

adminParameters

protected List<ConfigurationParameter> adminParameters

configParams

protected Map<String,ConfigurationParameter> configParams
Constructor Detail

BaseCredentialsAuthenticationService

public BaseCredentialsAuthenticationService()
Method Detail

getConfigurationParametersMap

public Map<String,ConfigurationParameter> getConfigurationParametersMap()
Specified by:
getConfigurationParametersMap in interface IAuthenticationService

getAdminConfigurationParameters

public List<ConfigurationParameter> getAdminConfigurationParameters()
Specified by:
getAdminConfigurationParameters in interface IAuthenticationService

getUserConfigurationParameters

public List<ConfigurationParameter> getUserConfigurationParameters()
Specified by:
getUserConfigurationParameters in interface IAuthenticationService

setUserParameters

protected void setUserParameters(List<ConfigurationParameter> params)

setAdminParameters

protected void setAdminParameters(List<ConfigurationParameter> params)

setConfigParams

protected void setConfigParams(Map<String,ConfigurationParameter> params)

createMailAccountName

protected String createMailAccountName(String accountName,
                                       MailStoreConfiguration config)

createNTCredentials

protected org.apache.http.auth.Credentials createNTCredentials(String ntlmDomain,
                                                               String username,
                                                               String password)


Copyright © 2013 Jasig. All Rights Reserved.