I want to implement a resource server (Spring Boot Rest Backend and secured via OAuth2 with JWT).
I get a resource server running which processes JWT tokens from Keycloak Authentication Server. But there are still gaps in my knowledge how to verify JWT tokens.
A deeper look at the Spring reference documentation opens the Hellmouth.
In the Spring OAuth2 Boot Reference there is a link to a feature matrix. This matrix lists the following spring options for implementing a resource server.
- Spring Security OAuth (2.2.+)
- Spring Security (5.1.+)
- Spring Cloud Security (1.2.+)
- Spring Boot OAuth2 (1.5.x)
But now I have found the following dependency
- 'org.springframework.security.oauth.boot:spring-security-oauth2-autoconfigure:2.1.6.RELEASE'
Which Spring Project or Starter does this dependency refer to? Is the matrix outdated? And if so, where can I find a current overview of the selection of a suitable solution for implementing a resource server?
It's all very opaque, can anyone bring some light into this darkness?