org.objectweb.jonas.web.catalina55
Class ResetAuthenticationValve

java.lang.Object
  extended byorg.apache.catalina.valves.ValveBase
      extended byorg.objectweb.jonas.web.catalina55.ResetAuthenticationValve
All Implemented Interfaces:
org.apache.catalina.Contained, javax.management.MBeanRegistration, org.apache.catalina.Valve

public class ResetAuthenticationValve
extends org.apache.catalina.valves.ValveBase

This valve reset the authentication. Authenticator valve will be called after (if an authentication is needed further).

Author:
Florent Benoit

Field Summary
 
Fields inherited from class org.apache.catalina.valves.ValveBase
container, containerLog, controller, domain, info, mserver, next, oname, sm
 
Constructor Summary
ResetAuthenticationValve()
           
 
Method Summary
 void invoke(org.apache.catalina.connector.Request request, org.apache.catalina.connector.Response response)
          Remove the current authenticated user by setting the anonymous user.
 
Methods inherited from class org.apache.catalina.valves.ValveBase
backgroundProcess, createObjectName, getContainer, getContainerName, getController, getDomain, getInfo, getNext, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setContainer, setController, setNext, setObjectName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResetAuthenticationValve

public ResetAuthenticationValve()
Method Detail

invoke

public void invoke(org.apache.catalina.connector.Request request,
                   org.apache.catalina.connector.Response response)
            throws java.io.IOException,
                   javax.servlet.ServletException
Remove the current authenticated user by setting the anonymous user.

Parameters:
request - The servlet request to be processed
response - The servlet response to be created
Throws:
java.io.IOException - if an input/output error occurs
javax.servlet.ServletException - if a servlet error occurs