Skip to content

Support for adding OAuth1(a) and OAuth2 features (consumer and provider) for Spring web applications.

License

Notifications You must be signed in to change notification settings

woltere/spring-security-oauth

 
 

Repository files navigation

This project provides support for using Spring Security with OAuth (1a) and OAuth2. It provides features for implementing both consumers and providers of these protocols using standard Spring and Spring Security programming models and configuration idioms.

Getting Started

Clone from GIT and then use Maven (2.2.*):

$ git clone ...
$ mvn install -P bootstrap

Use the bootstrap profile only the first time - it enables some repositories that can't be exposed in the poms by default.

SpringSource ToolSuite users (or Eclipse users with the latest m2eclipse plugin) can import the projects as existing Maven projects.

Spring Security OAuth is released under the terms of the Apache Software License Version 2.0 (see license.txt).

Samples

Samples and integration tests are in a subdirectory. There is a separate README there for orientation and information.

Changelog

Lists of issues addressed per release can be found in JIRA.

Additional Resources

Contributing to Spring Security OAuth

Here are some ways for you to get involved in the community:

  • Get involved with the Spring community on the Spring Community Forums. Please help out on the forum by responding to questions and joining the debate.
  • Create JIRA tickets for bugs and new features and comment and vote on the ones that you are interested in.
  • Github is for social coding: if you want to write code, we encourage contributions through pull requests from forks of this repository. If you want to contribute code this way, please reference a JIRA ticket as well covering the specific issue you are addressing.
  • Watch for upcoming articles on Spring by subscribing to springframework.org

Before we accept a non-trivial patch or pull request we will need you to sign the contributor's agreement. Signing the contributor's agreement does not grant anyone commit rights to the main repository, but it does mean that we can accept your contributions, and you will get an author credit if we do. Active contributors might be asked to join the core team, and given the ability to merge pull requests.

Code Conventions and Housekeeping

None of these is essential for a pull request, but they will all help. They can also be added after the original pull request but before a merge.

  • Use the Spring Framework code format conventions. Import eclipse-code-formatter.xml from the root of the project if you are using Eclipse. If using IntelliJ, copy spring-intellij-code-style.xml to ~/.IntelliJIdea*/config/codestyles and select spring-intellij-code-style from Settings -> Code Styles.
  • Make sure all new .java files to have a simple Javadoc class comment with at least an @author tag identifying you, and preferably at least a paragraph on what the class is for.
  • Add the ASF license header comment to all new .java files (copy from existing files in the project)
  • Add yourself as an @author to the .java files that you modify substantially (moew than cosmetic changes).
  • Add some Javadocs and, if you change the namespace, some XSD doc elements.
  • A few unit tests would help a lot as well - someone has to do it.
  • If no-one else is using your branch, please rebase it against the current master (or other target branch in the main project).

About

Support for adding OAuth1(a) and OAuth2 features (consumer and provider) for Spring web applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%