jersey-jwt
jersey-jwt copied to clipboard
Example of REST API with JWT authentication using Jersey, Jackson, Undertow, Weld, Hibernate and Arquillian.
https://github.com/cassiomolin/jersey-jwt/blob/e0081152298ea18cb4d17ad53c3a0d89accbda8e/src/main/java/com/cassiomolin/example/security/api/resource/AuthenticationResource.java#L71 The server is giving type cast error. How is your code able to perform the same action. Please help
Hi, I wondered if there was a pattern for persisting login credentials on the client so that the user doesn't have to re-enter credentials. I'm persisting the JWT Token, and...
When I send a request POST to http://localhost:8080/api/auth/refresh, I got error in class AuthenticationResource, method refresh() in line 70: `AuthenticationTokenDetails tokenDetails = ((TokenBasedSecurityContext) securityContext).getAuthenticationTokenDetails();` javax.servlet.ServletException: java.lang.ClassCastException: org.glassfish.jersey.server.internal.process.SecurityContextInjectee cannot be cast...