wood burning stoves 2.0*
The moose likes Security and the fly likes JAAS with JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "JAAS with JBoss" Watch "JAAS with JBoss" New topic

JAAS with JBoss

Carlos Ic

Joined: Nov 17, 2011
Posts: 1
Hi all,

I'm using JAAS with JBoss in my Web application, I configure the login-config.xml file

and the web.xml file:

and the others elements like <security-constraint> , <security-role>...etc, in my login xhtml I use j_security_check, j_username and j_password, everything works fine, but now I need to authenticate and authorize users based on their company, since a user can be in one or more companies and each have different roles. I need something like j_company (ComboBox) in my login xhtml
and get the roles based on the company code.

Any ideas or suggestions for this case?. Thanks in advance

jQuery in Action, 2nd edition
subject: JAAS with JBoss
Similar Threads
[jboss jaas] login-conf.xml configuration
authentication problem
Single Sign-on across web-apps
req.isUserInRole("admin"); return false??
Authorization issue while implementing login module with DatabaseServerLoginModule