Hi All,
I am a jboss newbie and need to a simple username/password challenge to pop up when someone accesses my web app deployed on jboss. I was looking at UsersRolesLoginModule. I am using jboss-3.2.3 with jetty-4.2.14.
All I did was the following 3 things.
1) server/MyServer/conf/login-conf.xml
<?xml version='1.0'?> <!DOCTYPE policy PUBLIC "-//JBoss//DTD JBOSS Security Config 3.0//EN" "http://www.jboss.org/j2ee/dtd/security_config.dtd"> <policy> <application-policy name = "myUsersRolesModule"> <authentication> <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag = "true" > <module-option name="hashAlgorithm">MD5</module-option> </login-module> </authentication> </application-policy> </policy>
Start with the first post in this forum:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=46370