
public class TemplateAuthenticationEntryPoint
extends org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
| Constructor and Description | 
|---|
| TemplateAuthenticationEntryPoint(String loginFormUrl,
                                cn.home1.oss.lib.errorhandle.api.ExceptionResolver<Throwable> exceptionResolver,
                                cn.home1.oss.lib.webmvc.api.TypeSafeCookie<cn.home1.oss.lib.errorhandle.api.ResolvedError> resolvedErrorCookie) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | buildRedirectUrlToLoginPage(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response,
                           org.springframework.security.core.AuthenticationException authException) | 
| protected String | determineUrlToUseForThisRequest(javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response,
                               org.springframework.security.core.AuthenticationException exception) | 
| static TemplateAuthenticationEntryPoint | templateEntryPoint(String loginFormUrl,
                  cn.home1.oss.lib.errorhandle.api.ExceptionResolver<Throwable> exceptionResolver,
                  cn.home1.oss.lib.webmvc.api.TypeSafeCookie<cn.home1.oss.lib.errorhandle.api.ResolvedError> resolvedErrorCookie) | 
afterPropertiesSet, buildHttpsRedirectUrlForRequest, commence, getLoginFormUrl, getPortMapper, getPortResolver, isForceHttps, isUseForward, setForceHttps, setPortMapper, setPortResolver, setUseForwardpublic TemplateAuthenticationEntryPoint(String loginFormUrl, cn.home1.oss.lib.errorhandle.api.ExceptionResolver<Throwable> exceptionResolver, cn.home1.oss.lib.webmvc.api.TypeSafeCookie<cn.home1.oss.lib.errorhandle.api.ResolvedError> resolvedErrorCookie)
loginFormUrl - URL where the login page can be found. Should either be relative to the web-app context
                            path (include a leading /) or an absolute URL.exceptionResolver - exceptionResolverresolvedErrorCookie - resolvedErrorCookieprotected String determineUrlToUseForThisRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception)
determineUrlToUseForThisRequest in class org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPointprotected String buildRedirectUrlToLoginPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException)
buildRedirectUrlToLoginPage in class org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPointpublic static TemplateAuthenticationEntryPoint templateEntryPoint(String loginFormUrl, cn.home1.oss.lib.errorhandle.api.ExceptionResolver<Throwable> exceptionResolver, cn.home1.oss.lib.webmvc.api.TypeSafeCookie<cn.home1.oss.lib.errorhandle.api.ResolvedError> resolvedErrorCookie)
Copyright © 2017. All rights reserved.