I have the same problem....

When I use the DatabaseLogin Module with BASIC authentication it all works 
fine. But as soon as I switch to FORM authentication I get the 
10:38:15,015 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role 
files
java.io.IOException: No properties file: users.properties or defaults: 
defaultUsers.properties found

I have the following method called by FACES to handle the login...

        
public String login(){
                                
boolean loginflag=false;
try{
        
CallbackHandler cbh = new ABILWebCallBackHandler(idNumber, password, 
randomcheck);
LoginContext lc = new LoginContext("ABILWeb", cbh);
                        lc.login();
                        Subject sub = lc.getSubject();
                        
return "success";
}catch(Exception e){
return "failed";
}
                
}

My call back handler populates teh username and password in the callbacks[]...

Any suggestions?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958004
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to