Well, i'll download the sources to do the proper changes in BaseCertLoginModule.

In order to derive the Principal i do this:

setIdentity(SimplePrincipal(rs.getString(1)));

where rs.getString(1) is the value of company certificate (DN) in users table 
of JAAS.

If fact i mean employee instead of user, i only need  use the employee 
certificate to check which company this employee belongs, after this i need the 
company identity to inherit the company role(s).

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

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


-------------------------------------------------------
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