[jboss-user] [Security & JAAS/JBoss] - Re: SimplePrincipal ClassCastException

ragavgomatam do-not-reply at jboss.com
Fri Oct 31 11:28:40 EDT 2008


Also why do you have your login-config.xml have 2 entires as below ? Shouldn't there be one entry ? Please also check your login Module to make sure you are instantiating your CustomPrincipal as opposed to Jboss SimplePrincipal

<module-option name="principalClassName"> 
  | xxx.xxx.CustomPrincipal 
  | </module-option> 
  | <module-option name="principalClass"> 
  | xxx.xxx.CustomPrincipal 

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

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



More information about the jboss-user mailing list