Announcement Announcement Module
Collapse
No announcement yet.
Spring OAuth Jar Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.

    Comment


    • #3
      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.

      Comment


      • #4
        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.

        Comment

        Working...
        X