users@jersey.java.net

Security Question

From: krdavis <keith.davis_at_zunisoft.com>
Date: Tue, 15 Jan 2008 8:28:35 -0700

Based on the fact that Jersey is not tied to a specific container (servlet or otherwise), is there any way to get a UserPrincipal? I have used declarative security at the application level to restrict access to my Jersey web app and would like to check if a user belongs to a role at the method level in a resource. I have scanned the list but not found a concrete answer.

Thanks in advance!