I follow jaashowto tutorial and create my custom principal class.  My login 
module generates principal with my custom type.  I do not know why when I 
iterate the subject, the first object is always of type 
org.jboss.security.SimplePrincipal but not my custom class.  The value of this 
principal is correct though.  Also the member in CallerPrincipal is correct as 
well, with my custom principal stored.  

By the way, is "principalClass" in options map (one of the arguments in 
initialize) obsolete?  If yes what is the reason on that?  Does this relate to 
the issue I raised in the 1st paragraph?

Thanks a lot.

jeffko32

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to