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, setServerSideRedirect
public 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.AuthenticationEntryPoint
commence
in class org.acegisecurity.ui.webapp.AuthenticationProcessingFilterEntryPoint
IOException
javax.servlet.ServletException
Copyright © 2014. All rights reserved.