Thanks for the quick reply. Actually I have two classes (following the pattern from Tomcat) an Authenticator that replaces the Form Authenticator and extends AuthenticatorBase (this is what is configured in my ContextConfig class) and a SingleSignOnValve which extends org.apache.catalina.authenticator.SingleSignOn, configured as a Valve in server.xml. I can't make SingleSignOnValve extend AuthenticatorBase because it is already extending SingleSignOn. I suppose since they both are Valves I could try to merge the two classes together?
The problem occurs in SingleSignOnValve, and works correctly in FormAuthenticator. It seems that the issue is the availabiltiy/visibility of the ENC JNDI name 'java:comp/env/security'? Also, the reason I have the ContextConfig class is because in 4.0.4GA the JBossContextConfig class is missing. (See the JIRA issue in the Wiki post you referenced.) Also, it just occurred to me that I referenced two Context classes in my code snippets. So just to clarify the JBossSecurityMgrRealm code snippet uses javax.naming.Context, all other snippets reference org.apache.catalina.Context. Thanks again, Josh Freeman View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951735#3951735 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951735 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
