Reference the sample applications to understand how OAuth 2.0 authorization flows were implemented in older Spring apps before migrating to the current libraries.
Migrate an existing app that depends on spring-security-oauth to the current Spring Security OAuth2 client and Spring Authorization Server.
This project is retired, use Spring Security and Spring Authorization Server for new projects instead.
This project added OAuth 1.0a and OAuth 2.0 support to Spring-based Java web applications. OAuth is a standard way for users to grant one website limited access to their account on another website without sharing their password, the same mechanism behind buttons like "Sign in with Google" or "Connect with GitHub." The library let Java developers build both sides of that handshake: the consumer side (an app that wants access to another service on behalf of a user) and the provider side (an app that grants or manages that access). It followed the standard Spring and Spring Security programming patterns, so developers already familiar with those frameworks could add OAuth support without learning a completely different set of abstractions. Important note: this project is no longer actively maintained. VMware, which took over stewardship, officially retired it. The OAuth 2.0 functionality it provided has been replaced by two current projects: Spring Security, which now handles the client and resource server roles directly, and Spring Authorization Server, which handles the authorization server role. Anyone starting a new project should use those instead. The repository remains publicly available and the README links to the successor projects. The code was released under the Apache Software License Version 2.0, which allows free use and modification. Sample applications were included to demonstrate how the integration worked for both OAuth 1.0a and OAuth 2.0 flows.
← spring-attic on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.