2 Replies Latest reply on Feb 28, 2005 1:25 AM by Jeffrey

    principal in subject is not custom type

    Jeffrey Newbie

      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