Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » web » tomcat » security » [javadoc | source]
org.jboss.web.tomcat.security
public class: SecurityAssociationValve [javadoc | source]
java.lang.Object
   org.apache.catalina.valves.ValveBase
      org.jboss.web.tomcat.security.SecurityAssociationValve
A Valve that sets/clears the SecurityAssociation information associated with the request thread for identity propagation.
Field Summary
public static  ThreadLocal userPrincipal     
public static  ThreadLocal activeWebMetaData    Maintain the active WebMetaData for request security checks 
public static  ThreadLocal activeRequest    Maintain the Catalina Request for programmatic web login 
public static  ThreadLocal activeResponse    Maintain the Catalina Response for programmatic web login 
Constructor:
 public SecurityAssociationValve(JBossWebMetaData metaData,
    JaasSecurityManagerServiceMBean secMgrService) 
Method from org.jboss.web.tomcat.security.SecurityAssociationValve Summary:
invoke,   setSubjectAttributeName
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.web.tomcat.security.SecurityAssociationValve Detail:
 public  void invoke(Request request,
    Response response) throws IOException, ServletException 
 public  void setSubjectAttributeName(String subjectAttributeName) 
    The name of the request attribute under with the authenticated JAAS Subject is stored on successful authentication. If null or empty then the Subject will not be stored.