Shankar,

Authentication is done with LoginModules in JBoss.  If you just want to specify 
users in a flatfile, you can use this as a guide:

http://wiki.jboss.org/wiki/Wiki.jsp?page=UsersRolesLoginModule

The UsersRolesLoginModule allows you to specify users, passwords, and their 
roles, and tie it into an application authentication mechanism.

I believe those files are stored at:

$JBOSS_HOME/server/[serverconfig]/conf

you authentication configurations happen in multiple files:

$JBOSS_HOME/server/[serverconfig]/conf/login-config.xml  -->  This specifies 
your loginModule configurations, and which application uses which modules
$WEBAPP_HOME/WEB-INF/web.xml -->  As normal, this specifies your roles and 
which servlets are protected
$WEBAPP_HOME/WEB-INF/jboss-web.xml  -->  This links your web application to the 
application-policy stated in the login-config.xml


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3898000


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to