users@glassfish.java.net

Re: EJB SessionContext CallerPrincipal

From: <glassfish_at_javadesktop.org>
Date: Mon, 31 Mar 2008 00:58:25 PST

Hello
I solved some trouble.
I set my own principal class in LoginModule configuration. But method getCallerPrincipal return SimplePrincipal. Then i find next solve:

org.jboss.security.SecurityAssociation.getSubject().getPrincipals(MyPrincipal.class)
[Message sent by forum member 'ghost63' (ghost63)]

http://forums.java.net/jive/thread.jspa?messageID=266737