[jboss-user] [Security & JAAS/JBoss] - Re: Using DatabaseServerLoginModule not effect ? Please help

jaikiran do-not-reply at jboss.com
Mon Feb 5 15:11:26 EST 2007


anonymous wrote : Caused by: javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required
  | at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:213)
  | at org.jboss.security.auth.spi.UsersRolesLoginModule.login(UsersRolesLoginModule.java:152) 

The exception stacktrace shows that it is using UsersRolesLoginModule(which looks for users.properties/roles.properties in the classpath) instead of the DB-Domain (Database loginmodule). Looks like its ignoring the entry in the jboss.xml or there might be something wrong in the login-config.xml. Can you post the entire contents of both these files? (Remember to wrap the contents in a code block using the Code button while posting). Also can you post the trace level log of jboss security package (Look at Q4 at http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ to see how the logs can be enabled)

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

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



More information about the jboss-user mailing list