Hi,

Basically I am a new guy getting familiar with Jboss. This is the exception I 
have received on my JBoss-4.0.5.

java.io.IOException: No properties file: users.properties or defaults: 
defaultUsers.properties found at 
org.jboss.security.auth.spi.Util.loadProperties(Util.java:315)
at 
org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186)
at 
org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200)
at 
org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)

I am trying to implement JAAS security with my application on Jboss. I have 
written a class which extends from HttpServlet and implements LoginModule. My 
aim is to build a small login/password application. From the JSP i can capture 
the values using the request scope which is available in my class. I am 
invoking the login() in the service method of my class. I am not using the 
NameCallback or PasswordCallback or for that matter any of the Callback 
classes. My authentication will and is hard coded in the class and the 
authentication will be based on the values received from the JSP. Any help on 
this issue will be appreciated.

Cheers,

Amaan 

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

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

Reply via email to