org.objectweb.jonas.security.realm.web.catalina55
Class JFormAuthenticator

java.lang.Object
  extended by org.apache.catalina.valves.ValveBase
      extended by org.apache.catalina.authenticator.AuthenticatorBase
          extended by org.apache.catalina.authenticator.FormAuthenticator
              extended by org.objectweb.jonas.security.realm.web.catalina55.JFormAuthenticator
All Implemented Interfaces:
javax.management.MBeanRegistration, org.apache.catalina.Authenticator, org.apache.catalina.Contained, org.apache.catalina.Lifecycle, org.apache.catalina.Valve

public class JFormAuthenticator
extends org.apache.catalina.authenticator.FormAuthenticator

Form authenticator which don't save the body if there is no body Extends FormAuthenticator of Tomcat.

Author:
Florent Benoit

Field Summary
 
Fields inherited from class org.apache.catalina.authenticator.FormAuthenticator
characterEncoding, info
 
Fields inherited from class org.apache.catalina.authenticator.AuthenticatorBase
algorithm, cache, context, DEFAULT_ALGORITHM, digest, disableProxyCaching, entropy, lifecycle, random, randomClass, securePagesWithPragma, SESSION_ID_BYTES, sm, sso, started
 
Fields inherited from class org.apache.catalina.valves.ValveBase
container, containerLog, controller, domain, mserver, next, oname
 
Fields inherited from interface org.apache.catalina.Lifecycle
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, DESTROY_EVENT, INIT_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT
 
Constructor Summary
JFormAuthenticator()
           
 
Method Summary
protected  void saveRequest(org.apache.catalina.connector.Request request, org.apache.catalina.Session session)
          Save the original request information into our session.
 
Methods inherited from class org.apache.catalina.authenticator.FormAuthenticator
authenticate, forwardToErrorPage, forwardToLoginPage, getCharacterEncoding, getInfo, matchRequest, restoreRequest, savedRequestURL, setCharacterEncoding
 
Methods inherited from class org.apache.catalina.authenticator.AuthenticatorBase
addLifecycleListener, associate, findLifecycleListeners, generateSessionId, getAlgorithm, getCache, getContainer, getDigest, getDisableProxyCaching, getEntropy, getRandom, getRandomClass, getSecurePagesWithPragma, invoke, reauthenticateFromSSO, register, removeLifecycleListener, setAlgorithm, setCache, setContainer, setDisableProxyCaching, setEntropy, setRandomClass, setSecurePagesWithPragma, start, stop
 
Methods inherited from class org.apache.catalina.valves.ValveBase
backgroundProcess, createObjectName, getContainerName, getController, getDomain, getNext, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setController, setNext, setObjectName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JFormAuthenticator

public JFormAuthenticator()
Method Detail

saveRequest

protected void saveRequest(org.apache.catalina.connector.Request request,
                           org.apache.catalina.Session session)
                    throws java.io.IOException
Save the original request information into our session.

Overrides:
saveRequest in class org.apache.catalina.authenticator.FormAuthenticator
Parameters:
request - The request to be saved
session - The session to contain the saved information
Throws:
java.io.IOException - if the save of the request fails