You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
Implement JWT. Do it in a ContainerRequestFilter. Just register it like any other resource.
Try to create a User object that implements UserPrincipal and set it in the filter in a SecurityContext.
Inject SecurityContext into methods or services where needed. https://antoniogoncalves.org/2016/10/03/securing-jax-rs-endpoints-with-jwt/
SecurityFilter should look for either an apikey in an Auth header, or a cookie. Maybe.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In a separate module, add support for JWT authorization. Use a context filter. Make it easy to add custom properties to the token.
The text was updated successfully, but these errors were encountered: