public class RequestParameterFilterEntryPoint extends Object implements org.springframework.security.web.AuthenticationEntryPoint, org.springframework.beans.factory.InitializingBean
SecurityEnforcementFilter
to commence authentication via the PentahoBasicProcessingFilter
.
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 and Description |
---|
RequestParameterFilterEntryPoint() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
commence(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException authException) |
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public void commence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException) throws IOException, javax.servlet.ServletException
commence
in interface org.springframework.security.web.AuthenticationEntryPoint
IOException
javax.servlet.ServletException
Copyright © 2019 Hitachi Vantara. All rights reserved.