https://github.com/soujava/security-jax-rs
https://github.com/soujava/security-jax-rs
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/soujava/security-jax-rs
- Owner: soujava
- Created: 2020-04-01T09:24:49.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-01T15:15:12.000Z (about 5 years ago)
- Last Synced: 2025-01-27T10:45:04.627Z (5 months ago)
- Language: Java
- Size: 6.84 KB
- Stars: 0
- Watchers: 14
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Security
This is a dump test to security with JAX-RS and Jakarta EE security.
## Commands
* `mvn clean package payara-micro:bundle`
* `java -jar target/microprofile-microbundle.jar`## How to Test
* `curl --location --request GET 'http://localhost:8080/'` -> it returns 401
* `curl --location --request GET 'http://localhost:8080/?username=username&password=password'` -> it returns 403 (Weird it should be 200)