Class RequestParameterFilterEntryPoint
- java.lang.Object
-
- org.pentaho.platform.web.http.security.RequestParameterFilterEntryPoint
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
,org.springframework.security.web.AuthenticationEntryPoint
public class RequestParameterFilterEntryPoint extends Object implements org.springframework.security.web.AuthenticationEntryPoint, org.springframework.beans.factory.InitializingBean
Used by theSecurityEnforcementFilter
to commence authentication via thePentahoBasicProcessingFilter
.Once a user agent is authenticated using Request Parameter authentication, logout requires that the browser be closed or an unauthorized (401) header be sent. The simplest way of achieving the latter is to call the
commence(HttpServletRequest, HttpServletResponse, AuthenticationException)
method below. This will indicate to the browser its credentials are no longer authorized, causing it to prompt the user to login again.
-
-
Constructor Summary
Constructors Constructor Description RequestParameterFilterEntryPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
void
commence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
commence
public void commence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException) throws IOException, javax.servlet.ServletException
- Specified by:
commence
in interfaceorg.springframework.security.web.AuthenticationEntryPoint
- Throws:
IOException
javax.servlet.ServletException
-
-