public class HudsonAuthenticationEntryPoint
extends org.acegisecurity.ui.webapp.AuthenticationProcessingFilterEntryPoint
HttpServletResponse.SC_FORBIDDEN,
then redirect browsers automatically to the login page.
This is a compromise to handle programmatic access and real browsers equally well.
The page that programs see is entirely white, and it auto-redirects, so humans wouldn't notice it.
| Constructor and Description |
|---|
HudsonAuthenticationEntryPoint() |
| Modifier and Type | Method and Description |
|---|---|
void |
commence(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
org.acegisecurity.AuthenticationException reason) |
afterPropertiesSet, determineUrlToUseForThisRequest, getForceHttps, getLoginFormUrl, getPortMapper, getPortResolver, isServerSideRedirect, setForceHttps, setLoginFormUrl, setPortMapper, setPortResolver, setServerSideRedirectpublic void commence(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
org.acegisecurity.AuthenticationException reason)
throws IOException,
javax.servlet.ServletException
commence in interface org.acegisecurity.ui.AuthenticationEntryPointcommence in class org.acegisecurity.ui.webapp.AuthenticationProcessingFilterEntryPointIOExceptionjavax.servlet.ServletExceptionCopyright © 2019. All rights reserved.