org.jboss.web.tomcat.security
Class CustomPrincipalValve

java.lang.Object
  extended byValveBase
      extended byorg.jboss.web.tomcat.security.CustomPrincipalValve

public class CustomPrincipalValve
extends ValveBase

A valve that associates the Principal as obtained from the authentication layer with the request. This allows any custom principal established by the authentication layer to be seen by the web app.

See Also:
Serialized Form

Constructor Summary
CustomPrincipalValve()
           
 
Method Summary
 void invoke(Request request, Response response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomPrincipalValve

public CustomPrincipalValve()
Method Detail

invoke

public void invoke(Request request,
                   Response response)
            throws java.io.IOException,
                   ServletException
Throws:
java.io.IOException
ServletException