public class BroadleafAdminLoginController extends BroadleafAbstractController
Modifier and Type | Field and Description |
---|---|
protected AdminSecurityService |
adminSecurityService |
protected static String |
changePasswordView |
protected static String |
forgotPasswordView |
protected static String |
forgotUsernameView |
protected static String |
loginRedirect |
protected static String |
loginView |
protected static String |
resetPasswordRedirect |
protected static String |
resetPasswordView |
Constructor and Description |
---|
BroadleafAdminLoginController() |
Modifier and Type | Method and Description |
---|---|
String |
changePassword(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model) |
String |
forgotPassword(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model) |
String |
forgotUsername(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model) |
AdminSecurityService |
getAdminSecurityService() |
static String |
getChangePasswordView() |
static String |
getForgotPasswordView() |
static String |
getForgotUsernameView() |
static String |
getLoginRedirect() |
static String |
getLoginView() |
static String |
getResetPasswordRedirect() |
static String |
getResetPasswordView() |
ResetPasswordForm |
initResetPasswordForm(javax.servlet.http.HttpServletRequest request) |
String |
login(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model) |
String |
processChangePassword(ResetPasswordForm resetPasswordForm,
javax.servlet.http.HttpServletRequest request) |
String |
processForgotUserName(String email,
javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model model) |
String |
processResetPassword(String username,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model) |
protected String |
redirectToLoginWithMessage(String message) |
protected String |
redirectToResetPasswordWithMessage(String message) |
String |
resetPassword(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model) |
String |
resetPassword(ResetPasswordForm resetPasswordForm,
javax.servlet.http.HttpServletRequest request) |
void |
setAdminSecurityService(AdminSecurityService adminSecurityService) |
static void |
setChangePasswordView(String changePasswordView) |
protected void |
setErrors(GenericResponse response,
javax.servlet.http.HttpServletRequest request) |
static void |
setForgotPasswordView(String forgotPasswordView) |
static void |
setForgotUsernameView(String forgotUsernameView) |
static void |
setLoginRedirect(String loginRedirect) |
static void |
setLoginView(String loginView) |
static void |
setResetPasswordRedirect(String resetPasswordRedirect) |
static void |
setResetPasswordView(String resetPasswordView) |
isAjaxRequest
protected AdminSecurityService adminSecurityService
protected static String loginView
protected static String forgotPasswordView
protected static String forgotUsernameView
protected static String resetPasswordView
protected static String changePasswordView
protected static String loginRedirect
protected static String resetPasswordRedirect
public String login(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model)
public String forgotPassword(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model)
public String forgotUsername(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model)
public String processResetPassword(@RequestParam(value="username") String username, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model)
public String processForgotUserName(@RequestParam(value="email") String email, javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model)
public String resetPassword(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model)
public String resetPassword(ResetPasswordForm resetPasswordForm, javax.servlet.http.HttpServletRequest request)
@ModelAttribute(value="resetPasswordForm") public ResetPasswordForm initResetPasswordForm(javax.servlet.http.HttpServletRequest request)
protected String redirectToResetPasswordWithMessage(String message)
protected void setErrors(GenericResponse response, javax.servlet.http.HttpServletRequest request)
public String changePassword(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model)
public String processChangePassword(ResetPasswordForm resetPasswordForm, javax.servlet.http.HttpServletRequest request)
public static String getLoginView()
public static void setLoginView(String loginView)
public static String getForgotPasswordView()
public static void setForgotPasswordView(String forgotPasswordView)
public static String getForgotUsernameView()
public static void setForgotUsernameView(String forgotUsernameView)
public static String getResetPasswordView()
public static void setResetPasswordView(String resetPasswordView)
public static String getChangePasswordView()
public static void setChangePasswordView(String changePasswordView)
public AdminSecurityService getAdminSecurityService()
public void setAdminSecurityService(AdminSecurityService adminSecurityService)
public static String getLoginRedirect()
public static void setLoginRedirect(String loginRedirect)
public static String getResetPasswordRedirect()
public static void setResetPasswordRedirect(String resetPasswordRedirect)
Copyright © 2013. All rights reserved.