Results 1 to 4 of 4

Thread: Spring OAuth Jar

  1. #1
    Join Date
    Mar 2008
    Posts
    19

    Default Spring OAuth Jar

    Spring OAuth is said to be a part of Spring Security, however Spring Security Core or Web 3.0.5 or earlier jars does not seem to have OAuth packages or files. I checked EBR As well as mvnrepo but neither of the spring security core jar has Spring OAuth present. Where should I be looking for Spring's jar containing OAuth package and classes.

  2. #2
    Join Date
    Mar 2008
    Posts
    19

    Default

    Surprisingly it is still under
    org.codehaus and not org.springframework

    spring-security-oauth-1.0.0.M2

    hope so EBR soon provides this jar.

  3. #3

    Default

    It is my understanding you need to add spring source repository for milestones to your project pom:

    Code:
    <repository>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
          <id>org.springframework.maven.milestone</id>
          <name>Spring Maven Milestone Repository</name>
          <url>http://maven.springframework.org/milestone</url>
        </repository>
    Then you need to add the dependencies for Milestone 3, which was the latest milestone last time I checked:

    Code:
    <dependency>
          <groupId>org.springframework.security.oauth</groupId>
          <artifactId>spring-security-oauth</artifactId>
          <version>1.0.0.M3</version>
          <scope>compile</scope>
        </dependency>

    As far as I know, the reason its not in central maven repository it's because not finalized official version.

  4. #4
    Join Date
    Mar 2008
    Posts
    19

    Default

    Thanks for providing latest Milestone details, while browsing Spring's OAuth forums, I learnt that OAuth work in codehaus is deprecated and all the changes are now shipped over to springframework.

    I guess they will not release official version till OAuth2 is not finalized.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •