cgriffith, I'm pretty much following the same configuration procedures that I 
have for all previous versions of jBoss. I simply put my application-policy's 
XML snippet into the login-config file. Usually after, the JAAS JNDI entry 
shows up in the JNDIView and is accessible by my security-domain entries in 
deployment descriptors.

As you can see from my posts, my entry is in the login-config, the 
XMLLoginConfig trace does pick it up, but it never gets into the JNDI tree. 
Also, I just ran the displayAppConfig method of 
jboss.security:service=XMLLoginConfig on my realm - PinkRealm. Here's the 
output ...

anonymous wrote : PinkRealm LoginConfiguration
  | 
  | LoginModule Class: org.jboss.security.auth.spi.DatabaseServerLoginModule
  | 
  | ControlFlag: LoginModuleControlFlag: required
  | 
  | Options:
  | 
  |     * name=hashEncoding, value=hex
  |     * name=rolesQuery, value=SELECT DISTINCT ur.role_id, 'Roles' FROM 
user_role_company ur INNER JOIN userinfo u ON ur.user_id = u.id WHERE u.email = 
? AND u.is_active = 1 AND ur.is_active = 1 AND ((ur.start_date IS NULL) OR 
(ur.start_date <= CURRENT_TIMESTAMP)) AND ((ur.end_date IS NULL) OR 
(ur.end_date > CURRENT_TIMESTAMP))
  |     * name=principalsQuery, value=SELECT password FROM userinfo WHERE email 
= ? AND is_active = 1
  |     * name=hashAlgorithm, value=MD5
  |     * name=dsJndiName, value=java:/jdbc/PinkCommon
  | 

As you see from below it is not in the tree ...

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

Is there something else that must be done 4.0.4.GA? If so, I've not seen the 
additional instructions in the release notes. Does 4.0.4 require that I include 
default module-option's in my XML configuration?

Thanks for your continued assistance.

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to