Hey,
I'm just curious if anyone has run into this one yet.
This is in the web layer. To fit our enterprise platform, I wrote a wrapper class that instantiated a JAAS LoginModule impl. (Provide another mechanism for login in our voice environment). This class is loaded via Class.forname(). It makes available the username/password via java.security.Principals objects. This was working fine on 2.4.* until 3.0
Now, I'm getting this exception:
javax.security.auth.login.LoginException: Missing users.properties file
As far as I can tell, nothing changed. Does anyone have any thoughts on what I need to change (either code or configuration)? Just really stumped here.
Thanks, Tom
Look in login-config.xml. The application policy name there should match one defined in jboss-security.xml. If it can't find the security policy name it defaults to user.properties (according to the comments).