An open API service indexing awesome lists of open source software.

https://github.com/soujava/security-jax-rs


https://github.com/soujava/security-jax-rs

Last synced: 3 months ago
JSON representation

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)