https://github.com/atbashee/atbash-jwt-sec
Atbash implementation of MicroProfile JWT Auth Spec
https://github.com/atbashee/atbash-jwt-sec
Last synced: 11 months ago
JSON representation
Atbash implementation of MicroProfile JWT Auth Spec
- Host: GitHub
- URL: https://github.com/atbashee/atbash-jwt-sec
- Owner: atbashEE
- License: apache-2.0
- Created: 2018-02-07T06:17:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-10-19T04:46:32.000Z (over 3 years ago)
- Last Synced: 2025-01-18T12:26:07.737Z (over 1 year ago)
- Language: Java
- Size: 39.1 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# atbash-jwt-sec
Atbash implementation of MicroProfile JWT Auth Spec
## Prerequisites
* Java 7
* Java EE 7 (CDI 1.1, JASPIC 1.1, JAX-RS 2.0, EJB 3.x)
## Goal
Support MicroProfile JWT Auth token within Java EE 7 Rest style applications.
## Status
Partial implementation of the MicroProfile JWT Auth Spec.
Tested on WildFly 10.1
### Done
* Use MicroProfile JWT Auth token for populating Principal info of Java EE System
* Detection of @LoginConfig
* Use of @RolesAllowed
### TODO
* Injection of JWT claims
### Issues
* Status 500 when user has not the correct role (instead of status 4xx)
* Authentication for non JAX-RS URLs (in combination with the JWT Auth)