@Controller(value="blAdminLoginController") public class AdminLoginController extends BroadleafAbstractController
| Modifier and Type | Field and Description |
|---|---|
protected AdminNavigationService |
adminNavigationService |
protected AdminSecurityService |
adminSecurityService |
protected static java.lang.String |
changePasswordView |
protected static java.lang.String |
forgotPasswordView |
protected static java.lang.String |
forgotUsernameView |
protected static java.lang.String |
loginRedirect |
protected static java.lang.String |
loginView |
protected static java.lang.String |
resetPasswordRedirect |
protected static java.lang.String |
resetPasswordView |
| Constructor and Description |
|---|
AdminLoginController() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
baseLogin(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model) |
java.lang.String |
changePassword(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model) |
java.lang.String |
forgotPassword(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model) |
java.lang.String |
forgotUsername(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model) |
AdminSecurityService |
getAdminSecurityService() |
static java.lang.String |
getChangePasswordView() |
static java.lang.String |
getForgotPasswordView() |
static java.lang.String |
getForgotUsernameView() |
static java.lang.String |
getLoginRedirect() |
static java.lang.String |
getLoginView() |
protected AdminUser |
getPersistentAdminUser() |
static java.lang.String |
getResetPasswordRedirect() |
static java.lang.String |
getResetPasswordView() |
ResetPasswordForm |
initResetPasswordForm(javax.servlet.http.HttpServletRequest request) |
java.lang.String |
loginSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model) |
java.lang.String |
processchangePassword(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
ResetPasswordForm resetPasswordForm) |
java.lang.String |
processForgotUserName(javax.servlet.http.HttpServletRequest request,
java.lang.String email) |
java.lang.String |
processResetPassword(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
ResetPasswordForm resetPasswordForm) |
java.lang.String |
processSendResetPasswordEmail(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String username) |
protected java.lang.String |
redirectToLoginWithMessage(java.lang.String message) |
protected java.lang.String |
redirectToResetPasswordWithMessage(java.lang.String message) |
java.lang.String |
resetPassword(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model) |
void |
setAdminSecurityService(AdminSecurityService adminSecurityService) |
static void |
setChangePasswordView(java.lang.String changePasswordView) |
protected void |
setErrors(GenericResponse response,
javax.servlet.http.HttpServletRequest request) |
static void |
setForgotPasswordView(java.lang.String forgotPasswordView) |
static void |
setForgotUsernameView(java.lang.String forgotUsernameView) |
static void |
setLoginRedirect(java.lang.String loginRedirect) |
static void |
setLoginView(java.lang.String loginView) |
static void |
setResetPasswordRedirect(java.lang.String resetPasswordRedirect) |
static void |
setResetPasswordView(java.lang.String resetPasswordView) |
getContextPath, isAjaxRequestprotected AdminSecurityService adminSecurityService
protected AdminNavigationService adminNavigationService
protected static java.lang.String loginView
protected static java.lang.String forgotPasswordView
protected static java.lang.String forgotUsernameView
protected static java.lang.String resetPasswordView
protected static java.lang.String changePasswordView
protected static java.lang.String loginRedirect
protected static java.lang.String resetPasswordRedirect
@RequestMapping(value="/login",
method=GET)
public java.lang.String baseLogin(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model)
@RequestMapping(value={"/","/loginSuccess"},
method=GET)
public java.lang.String loginSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model)
@RequestMapping(value="/forgotPassword",
method=GET)
public java.lang.String forgotPassword(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model)
@RequestMapping(value="/forgotUsername",
method=GET)
public java.lang.String forgotUsername(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model)
@RequestMapping(value="/sendResetPassword",
method=POST)
public java.lang.String processSendResetPasswordEmail(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
@RequestParam(value="username")
java.lang.String username)
@RequestMapping(value="/resetPassword",
method=POST)
public java.lang.String processResetPassword(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@ModelAttribute(value="resetPasswordForm")
ResetPasswordForm resetPasswordForm)
@RequestMapping(value="/forgotUsername",
method=POST)
public java.lang.String processForgotUserName(javax.servlet.http.HttpServletRequest request,
@RequestParam(value="emailAddress")
java.lang.String email)
@RequestMapping(value="/resetPassword",
method=GET)
public java.lang.String resetPassword(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model)
@ModelAttribute(value="resetPasswordForm") public ResetPasswordForm initResetPasswordForm(javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/changePassword",
method=GET)
public java.lang.String changePassword(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model)
@RequestMapping(value="/changePassword",
method=POST)
public java.lang.String processchangePassword(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
@ModelAttribute(value="resetPasswordForm")
ResetPasswordForm resetPasswordForm)
protected java.lang.String redirectToLoginWithMessage(java.lang.String message)
protected java.lang.String redirectToResetPasswordWithMessage(java.lang.String message)
protected void setErrors(GenericResponse response, javax.servlet.http.HttpServletRequest request)
protected AdminUser getPersistentAdminUser()
public static java.lang.String getLoginView()
public static void setLoginView(java.lang.String loginView)
public static java.lang.String getForgotPasswordView()
public static void setForgotPasswordView(java.lang.String forgotPasswordView)
public static java.lang.String getForgotUsernameView()
public static void setForgotUsernameView(java.lang.String forgotUsernameView)
public static java.lang.String getResetPasswordView()
public static void setResetPasswordView(java.lang.String resetPasswordView)
public static java.lang.String getChangePasswordView()
public static void setChangePasswordView(java.lang.String changePasswordView)
public AdminSecurityService getAdminSecurityService()
public void setAdminSecurityService(AdminSecurityService adminSecurityService)
public static java.lang.String getLoginRedirect()
public static void setLoginRedirect(java.lang.String loginRedirect)
public static java.lang.String getResetPasswordRedirect()
public static void setResetPasswordRedirect(java.lang.String resetPasswordRedirect)
Copyright © 2018. All Rights Reserved.