Here is what I get if I try and use the login module in the normal way for JBMS:
2006-05-02 16:39:46,797 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] Begin getAppConfigurationEntry(jbms), size=9 | 2006-05-02 16:39:46,797 TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] End getAppConfigurationEntry(jbms), authInfo=AppConfigurationEntry[]: | [0] | LoginModule Class: org.jboss.security.auth.spi.UserRolesLoginModule | ControlFlag: LoginModuleControlFlag: required | Options:name=rolesProperties, value=jbms-roles.properties | name=usersProperties, value=jbms-users.properties | name=unauthenticatedIdentity, value=nobody | | 2006-05-02 16:39:46,800 ERROR [org.jboss.mail.userrepository.jaas.JaasUserRepository] Login failed for user tom | However if I go to the jmx console and do jbms/tom in java.security.Principal getPrincipal() it goes to jmx-console for no obvious reason (it appears to ignore the first arguemnt). Nearly anything else I do from the console does that as well. I CAN get an error if I remove the schema tags from the above module-option tags (on a whim) that it can't load the properties files. However it appears that it is just ignoring my arguments. Any clues? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940818#3940818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940818 ------------------------------------------------------- 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