org.pentaho.platform.web.http.security
Class RequestParameterFilterEntryPoint
java.lang.Object
org.pentaho.platform.web.http.security.RequestParameterFilterEntryPoint
public class RequestParameterFilterEntryPoint
- extends Object
Used by the SecurityEnforcementFilter
to commence
authentication via the BasicProcessingFilter
.
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(ServletRequest, ServletResponse)
method below. This will
indicate to the browser its credentials are no longer authorized, causing
it to prompt the user to login again.
Method Summary |
void |
afterPropertiesSet()
|
void |
commence(ServletRequest request,
ServletResponse response,
AuthenticationException authException)
|
RequestParameterFilterEntryPoint
public RequestParameterFilterEntryPoint()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Throws:
Exception
commence
public void commence(ServletRequest request,
ServletResponse response,
AuthenticationException authException)
throws IOException,
ServletException
- Throws:
IOException
ServletException