Authenticated must either populate the request with a Principal object, under the PrincipalPropertyKey, or return a failing Response, usually a 401.
Authenticated must either populate the request with a Principal object, under the PrincipalPropertyKey, or return a failing Response, usually a 401.
is used to specify the key that the Principal is stored in inside the session.
An AuthenticationStrategy that retrieves a Principal from the current session. This Principal is then added to the request for downstream processing.
The Principal must be set on the session by some step handled externally to this class, for example a login page.
If no Principal is set on the current session then a 401 is returned.
There must have been an appropriately configured SessionManager in the endpoint before authentication is attempted.
is used to specify the key that the Principal is stored in inside the session.