I investigated as much as I can and I found that JBoss's security config 
service is not loading the JNDI names of my application-policies from my 
login-config.xml at start-up.

I ran the JBossJAAShowto example and that works fine, so I need to find the 
problem in what I am doing. 

When I use the jmx-console to check the JNDI entries, I see the following for 
my login-config.xml:


  |   +- jaas (class: javax.naming.Context)
  |   |   +- JmsXARealm (class: 
org.jboss.security.plugins.SecurityDomainContext)
  |   |   +- jbossmq (class: org.jboss.security.plugins.SecurityDomainContext)
  |   |   +- HsqlDbRealm (class: 
org.jboss.security.plugins.SecurityDomainContext)
  | 

which is bizarre because I have only my own realm in login-context 
(GargantusRealm) and the obligatory HsqlDbRealm. I have searched for the 
JmsXARealm config in the JBoss directories, but found nothing. 

When I run the example app, JBoss loads example1 and example2 without problems, 
so I am at a loss. 

If I put badly-formed XML in my login-config.xml, then JBoss throws an 
exception, so I can see that it is reading the xml for my realm, it is just not 
loading it into the java:/jaas JNDI. 

Can anybody shine a little light on this? 

Thanks
Adam

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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to