If using Servlet authentication (or JAAS) the principal would be set.

If you are using a 3rd party web library (like spring) then odds are you
are not integrating with Servlet security.

Joakim Erdfelt / [email protected]


On Mon, Feb 10, 2020 at 2:05 PM Yicheng Wang <[email protected]>
wrote:

> Hi team,
>
> My question is as the subject state. My issue is the login request does
> have
> the principal by calling getUserPrincipal. But after logging in, the second
> request has a null principal. Besides, neither of the requests have
> sessions. So I'm wondering if Jetty uses session information to set the
> principal in HTTP request. Do appreciate your help!
>
> Best
>
>
>
> --
> Sent from: http://jetty.4.x6.nabble.com/Jetty-User-f3247280.html
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to