users@glassfish.java.net

API to get User Principal and roles

From: <glassfish_at_javadesktop.org>
Date: Mon, 10 Aug 2009 23:41:45 PDT

Hi all

I'm looking for a glassfish specific api to get to the principal and roles of the current authenticated user. I need a replacement for httpServletRequest.isUserInRole(..) and httpServletRequest.getRemoteUser, I cannot use that methods because of a bug in our jsf framework.

Thanks
[Message sent by forum member 'mszalay' (mszalay)]

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