[jboss-user] [JBoss Portal] - Re: WebAuthentication + default login-module problem

den74 do-not-reply at jboss.com
Thu Sep 27 03:25:04 EDT 2007


i had a similar problem, you probably have extended the UsersRolesLoginModule class that is wrote to use a properties file to get the users and their roles. If you want to continue to use that class you have to reimplements tow more methods like this:


 @Override
 protected Properties createRoles(Map arg0) throws IOException {
  // needed to bypass properties file check
  return new Properties();
 }
 
 @Override
 protected Properties createUsers(Map arg0) throws IOException {
  // needed to bypass properties file check
  return new Properties();
 }

for me that solved all the problems :)

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

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



More information about the jboss-user mailing list