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