users@jersey.java.net

[Jersey] Re: _at_SecurityContext - Null user principal

From: Pavel Bucek <pavel.bucek_at_oracle.com>
Date: Wed, 03 Aug 2011 17:21:49 +0200

and how are your users authenticate? basic/digest over https or
certificate based auth?

isSecure returns only information about use of some secure protocol (in
your case https), it is not related to authentication, see
http://jsr311.java.net/nonav/releases/1.0/javax/ws/rs/core/SecurityContext.html#isSecure()

Pavel

On 8/3/11 5:12 PM, Samantha Berger wrote:
> I am getting "null" while trying to fetch the user principal from the
> security context, although isSecure() method returns "true" - the server
> (embedded jetty) is running over https.
>
> Thanks for any help in advance!
>
>
>
> --
> View this message in context: http://jersey.576304.n2.nabble.com/SecurityContext-Null-user-principal-tp6649101p6649101.html
> Sent from the Jersey mailing list archive at Nabble.com.
>