Registry / auth / spring-security-oauth2

spring-security-oauth2

JSON →
library2.5.2.RELEASEjavamavenunverified

Module providing OAuth2 support for Spring Security, enabling authorization server and resource server functionality.

<dependency> <groupId>org.springframework.security.oauth</groupId> <artifactId>spring-security-oauth2</artifactId> <version>2.5.2.RELEASE</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-SECURITY-OA
S
spring-security-oauth2
authjavav2.5.2.RELEASE
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.

EnableAuthorizationServer
org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer

Enable OAuth2 authorization server in Spring Security.

import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer; import org.springframework.context.annotation.Configuration; @Configuration @EnableAuthorizationServer public class OAuth2Config { // configure clients and tokens }
Debug
Known issues
breakingSpring Security OAuth2 is deprecated in favor of Spring Security 5's OAuth2 support.
fix
Migrate to spring-security-oauth2-client and spring-security-oauth2-resource-server from Spring Security 5.
affects: >=2.5.0
Upgrade
Version history
2.5.2.RELEASElatest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
12
OpenAI (training)
1
Resources
spring-security-oauth2 — mvn dependency:get spring-security-oauth2 · libregistry