Sure, I checked and the instance of JBossSecurityMgrRealm that I get back from 
all of the different paths is the same instance. So no matter where or how I 
get reference to the realm, I am getting the same instance which is the desired 
behavior. However, in some cases it finds the JNDI lookup and others it doesn't 
(this lookup happens on every call to authenticate and isn't part of the 
JBossSecurityMgrRealm instance).

The context and container from the authenticator are the same instance and are 
of type org.apache.catalina.core.StandardContext.

The context from request.getContext() is also of type 
org.apache.catalina.core.StandardContext.

The SingleSignOnValve's this.getContainer() method returns an object of type 
org.apache.catalina.core.StandardHost, and the container.getContext() method 
returns an object of type org.apache.catalina.core.StandardContext.

Thanks again,

Josh Freeman

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951755#3951755

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951755


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to