We've solved the problem by creating java.security.acl.group with name
CallerPrincipal and value MyPrincipal instance:
Group callerPrincipal = new SimpleGroup("CallerPrincipal");
callerPrincipal.addMember(caller);
So, currently getUserPrincipal() of HttpServletRequest returns MyPrincipal
instance as it required...
Anyway thanks a lot for answers!
Regards,
Alex Chesnokov
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887266#3887266
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887266
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user