Class FunctionHandler
- java.lang.Object
-
- org.silverpeas.core.web.authentication.credentials.FunctionHandler
-
- Direct Known Subclasses:
ChangeCredentialFunctionHandler
,ChangePasswordFromLoginHandler
,ChangePasswordHandler
,ChangeQuestionHandler
,ForcePasswordChangeHandler
,ForgotPasswordHandler
,LoginQuestionHandler
,NewRegistrationHandler
,RegisterHandler
,ResetLoginPasswordHandler
,ResetPasswordHandler
,SendMessageHandler
,TermsOfServiceRequestHandler
,TermsOfServiceResponseHandler
,ValidationQuestionHandler
public abstract class FunctionHandler extends Object
- Author:
- ehugonnet
-
-
Constructor Summary
Constructors Constructor Description FunctionHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
doAction(javax.servlet.http.HttpServletRequest request)
protected String
forgottenPasswordError(javax.servlet.http.HttpServletRequest request, ForgottenPasswordException fpe)
protected Administration
getAdminService()
org.silverpeas.kernel.bundle.SettingBundle
getAuthenticationSettings()
protected String
getContextPath(javax.servlet.http.HttpServletRequest request)
protected ForgottenPasswordMailManager
getForgottenPasswordMailManager()
protected org.silverpeas.kernel.bundle.SettingBundle
getGeneral()
protected ForgottenPasswordMailParameters
getMailParameters(String userId)
protected org.silverpeas.kernel.bundle.LocalizationBundle
getMultilang()
protected org.silverpeas.kernel.bundle.SettingBundle
getResources()
protected void
renewSecurityToken(javax.servlet.http.HttpServletRequest request)
protected void
setForgottenPasswordMailManager(ForgottenPasswordMailManager forgottenPasswordMailManager)
protected void
setGeneral(org.silverpeas.kernel.bundle.SettingBundle general)
protected void
setMultilang(org.silverpeas.kernel.bundle.LocalizationBundle multilang)
protected void
setResources(org.silverpeas.kernel.bundle.SettingBundle resources)
-
-
-
Method Detail
-
doAction
public abstract String doAction(javax.servlet.http.HttpServletRequest request)
-
getMailParameters
protected ForgottenPasswordMailParameters getMailParameters(String userId) throws AdminException
- Throws:
AdminException
-
getContextPath
protected String getContextPath(javax.servlet.http.HttpServletRequest request)
-
forgottenPasswordError
protected String forgottenPasswordError(javax.servlet.http.HttpServletRequest request, ForgottenPasswordException fpe)
-
getResources
protected org.silverpeas.kernel.bundle.SettingBundle getResources()
- Returns:
- the resources
-
setResources
protected void setResources(org.silverpeas.kernel.bundle.SettingBundle resources)
- Parameters:
resources
- the resources to set
-
getMultilang
protected org.silverpeas.kernel.bundle.LocalizationBundle getMultilang()
- Returns:
- the multilang
-
setMultilang
protected void setMultilang(org.silverpeas.kernel.bundle.LocalizationBundle multilang)
- Parameters:
multilang
- the multilang to set
-
getForgottenPasswordMailManager
protected ForgottenPasswordMailManager getForgottenPasswordMailManager()
- Returns:
- the forgottenPasswordMailManager
-
setForgottenPasswordMailManager
protected void setForgottenPasswordMailManager(ForgottenPasswordMailManager forgottenPasswordMailManager)
- Parameters:
forgottenPasswordMailManager
- the forgottenPasswordMailManager to set
-
getAdminService
protected Administration getAdminService()
- Returns:
- the admin
-
getGeneral
protected org.silverpeas.kernel.bundle.SettingBundle getGeneral()
- Returns:
- the general
-
setGeneral
protected void setGeneral(org.silverpeas.kernel.bundle.SettingBundle general)
- Parameters:
general
- the general to set
-
getAuthenticationSettings
public org.silverpeas.kernel.bundle.SettingBundle getAuthenticationSettings()
-
renewSecurityToken
protected void renewSecurityToken(javax.servlet.http.HttpServletRequest request)
-
-