Registry / auth / spring-boot-starter-oauth2-resource-server

spring-boot-starter-oauth2-resource-server

JSON →
library4.0.6javamavenunverified

A Spring Boot starter for configuring OAuth2 resource server security, now deprecated in favor of spring-boot-starter-security-oauth2-resource-server.

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-oauth2-resource-server</artifactId> <version>4.0.6</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-BOOT-STARTE
S
spring-boot-starter-oauth2-resource-server
authjavav4.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BearerTokenAuthenticationToken
org.springframework.security.oauth2.server.resource.authentication.BearerTokenAuthenticationToken

Creates a bearer token authentication token.

import org.springframework.security.oauth2.server.resource.authentication.BearerTokenAuthenticationToken; public class Example { public static void main(String[] args) { BearerTokenAuthenticationToken token = new BearerTokenAuthenticationToken("my-token"); System.out.println(token.getToken()); } }
Debug
Known issues
breakingThis starter is deprecated; use spring-boot-starter-security-oauth2-resource-server instead.
fix
Replace dependency with org.springframework.boot:spring-boot-starter-security-oauth2-resource-server.
affects: >=4.0.0
Upgrade
Version history
4.0.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
Resources