Hi, I'd recommend you to read the article by Scott Stark on javaworld.com about jboss security. There is an example with properties files and db-based login. The properties files should be in classpath of your application.
alex -----Original Message----- From: Chan Chee Siong <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Mon, 10 Jun 2002 21:12:49 -0700 (PDT) Subject: [JBoss-user] users.properties > Hi All > > Anyone has a sample copy of the users.properties > file ? And which directory we should place this file > to ? > > Thanks in advance. > > > Cheers > Chee Siong > > > --- Chan Chee Siong <[EMAIL PROTECTED]> wrote: > > Hi all > > > > Currently, I m doing an urgent migration of my > > project my ear from jboss-2.4.4 (bundled with tomcat > > 3.2.3) to jboss-2.4.6 (bundled with tomcat 4.0.3). > > > > I was able to access the first login jsp page but > > upon entering the login button, I have this > > [UsersRolesLoginModule] Failed to load > > users/passwords exception thrown. I understand > > that > > there is a reply to this in JBoss s forum > > > (http://jboss.org/forums/thread.jsp?forum=66&thread=13365) > > but unfortunately I cannot access to it as there are > > some maintenance efforts going on at the JBoss s > > forum > > site. > > > > For those who know the resolution, I would deeply > > appreciate for an email on this issue. > > > > Regards and have a nice day. > > > > > > Cheers, > > CS > > > > [INFO,XAPoolDataSource] Creating XA Pool > > [ERROR,UsersRolesLoginModule] Failed to load > > users/passwords/role files > > java.io.IOException: Properties file > > users.properties > > not found > > at > > > org.jboss.security.auth.spi.UsersRolesLoginModule.loadProperties(User > > sRolesLoginModule.java:212) > > at > > > org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRole > > sLoginModule.java:193) > > at > > > org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRol > > esLoginModule.java:95) > > at java.lang.reflect.Method.invoke(Native > > Method) > > at > > > javax.security.auth.login.LoginContext.invoke(LoginContext.java:582) > > at > > > javax.security.auth.login.LoginContext.access$000(LoginContext.java:1 > > 25) > > at > > > javax.security.auth.login.LoginContext$3.run(LoginContext.java:531) > > at > > java.security.AccessController.doPrivileged(Native > > Method) > > at > > > javax.security.auth.login.LoginContext.invokeModule(LoginContext.java > > :528) > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! - Official partner of 2002 FIFA World Cup > > http://fifaworldcup.yahoo.com > > > > > _______________________________________________________________ > > > > Don't miss the 2002 Sprint PCS Application > > Developer's Conference > > August 25-28 in Las Vegas -- > > http://devcon.sprintpcs.com/adp/index.cfm > > > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > ===== > > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas - >http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ----- �������� ���������� �������� ���� @ukr.net �� http://freemail.ukr.net _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
