Skip to content

Example of Jersey2 application as a oauth2 resource server

Notifications You must be signed in to change notification settings

pitchblack408/jersey2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jersey2

This is an example of jersey2 application behaving as a oauth2 resource server. The application is using some of the internal spring libraries to decode JWT tokens and with openid-configuration JWKS.

Jersey2 and Jetty

This project can tested on Jetty using the "Run Jetty Run" Eclipse plugin.

Steps after installing the plugin from the eclipse market place:

  1. mvn clean
  2. mvn package
  3. On project in eclipse right click -> maven -> update project
  4. On the project right click and run as Run Jetty
  5. Stop the process from running on the console
  6. Go to Run Configurations and edit the Jetty application configuration and edit the context to: /
  7. Now rerun with Run as: Run Jetty

For more info: https://github.com/xzer/run-jetty-run/wiki/GettingStarted

About

Example of Jersey2 application as a oauth2 resource server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published