This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "JAAS with JBoss" Watch "JAAS with JBoss" New topic
Author

JAAS with JBoss

Carlos Ic
Greenhorn

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



 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: JAAS with JBoss
 
jQuery in Action, 3rd edition