https://github.com/atbashee/jsr375-extensions
Extensions for JSR 375 (Java EE Security API) like custom handling for JWT and OAuth2 tokens
https://github.com/atbashee/jsr375-extensions
Last synced: 11 months ago
JSON representation
Extensions for JSR 375 (Java EE Security API) like custom handling for JWT and OAuth2 tokens
- Host: GitHub
- URL: https://github.com/atbashee/jsr375-extensions
- Owner: atbashEE
- License: apache-2.0
- Created: 2017-11-09T20:27:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-03T05:02:12.000Z (over 7 years ago)
- Last Synced: 2025-05-07T00:08:41.413Z (about 1 year ago)
- Language: Java
- Size: 37.1 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jsr375-extensions
Extensions for JSR 375 (Java EE Security API) like custom handling for JWT and OAuth2 tokens
## code/jwt
Contains an extension which consumes JWT tokens which can be used for securing a JAX-RS endpoint.
The processing of the JWT payload, from the header, is up to the developer and thus the MicroProfile [JWT Auth specification](https://wiki.eclipse.org/MicroProfile/JWT_Auth) JSON claims could be used. This is done in the example.
For more info, have a look at the [readme](https://github.com/atbashEE/jsr375-extensions/blob/master/examples/jwt/README.md).
## code/oauth2
Contains an extension using the OAuth2 Authorization code flow to authenticate the user within a Web application.
For more info, have a look at the [readme](https://github.com/atbashEE/jsr375-extensions/blob/master/examples/oauth2/README.md).