Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

spring-security integration (spring-social-security) #12

Merged
merged 49 commits into from

6 participants

Stefan Fussenegger Keith Donald Al Baker bfd Craig Walls Bruno Baia
Stefan Fussenegger

spring-security integration allowing OAuth authentication for spring-security.

Using the sample configuration all it takes is redirecting the user to /auth/facebook or /auth/twitter to add a connection (signed out) or authenticate (signed out).

Note that providers don't exist yet, as they should go into the newly created sub projects (spring-social-facebook, ...) (pull requests upcoming as soon as this one is done)

Keith Donald

Stefan,
Just wanted to get you an update here: we're working on getting RC1 out early this week, with a quick 1.0 to follow. I talked with Craig and we're gonna make integrating your Spring Security integration one of the top 1.1 priorities and expect the 1.1 cycle to move quickly as well.

Stefan Fussenegger

Keith, thanks for the update. Too bad security isn't making it into 1.0. I'm looking forward to 1.1 though.

For everybody interested in spring-security integration pre 1.1:

I've deployed Maven artifacts from our molindo branch to Sonatype's OSS Snapshot repository (using groupId at.molindo.social).

I'm not planning to to do a release, only snapshots, only until this pull request is closed.

PS: Monitoring of builds (CI/TeamCity) is also possible.

Stefan Fussenegger sfussenegger reopened this
Stefan Fussenegger

I've now updated the sample conf too. I've even added the necessary POM snippets to use my custom builds.

sfussenegger and others added some commits
Stefan Fussenegger sfussenegger ignore unknown providerIds allowing to handle them down the chain f09cf16
Stefan Fussenegger sfussenegger Merge branch 'master' into security ff0c991
Stefan Fussenegger sfussenegger fix for change of method name 2f90045
Stefan Fussenegger sfussenegger Merge branch 'master' into security f1b879f
Stefan Fussenegger sfussenegger configure default connectionAddedRedirectUrl for filter 2370e50
Stefan Fussenegger sfussenegger added failureHandler 4e48507
Stefan Fussenegger sfussenegger Merge branch 'master' into security d2e31b2
Stefan Fussenegger sfussenegger fixed build error after merging 4a6ee2d
Stefan Fussenegger sfussenegger changed addSignInAttempt(..) to replace existing, alwasy redirect to …
…signup url
81a9c98
Stefan Fussenegger sfussenegger Merge branch 'master' into security 4072bcc
Stefan Fussenegger sfussenegger optionaly update existing connections after auth success 1d9e3e2
Stefan Fussenegger sfussenegger Merge branch 'master' into security 65363aa
Stefan Fussenegger sfussenegger force UserDetails to remember userId 26a0d26
Stefan Fussenegger sfussenegger force UserDetails to remember userId 7e909f7
Stefan Fussenegger sfussenegger added possibility to remove SignInAttempt 1bf3bd5
Stefan Fussenegger sfussenegger configurable scope property 6d1d2dd
Stefan Fussenegger sfussenegger fixed possible NPE b48bbf1
Dolan Halbrook Using COALESCE instead of IFNULL for Postgres 8.4 support. 53e10f8
Craig Walls Added default constructor for InsufficientPermissionsException for ti…
…mes when the required permission is unknown.
8e0736a
Craig Walls Added some tests around ConnectionKey's equals(), hashCode(), and toS…
…tring() methods as well as fixed symmetric bug in equals()
fbe87d5
Bruno Baia bbaia Polishing while porting to .NET c8c24eb
Craig Walls Updated H2 and Jackson dependency versions 4d08940
Craig Walls Return redirect URL from SignInAdapter and redirect to it in Provider…
…SignInController if it's not null. In this way it's possible for the SignInAdapter implementation to tell PSIC to redirect to the original target URL when the user was forced to sign in. SOCIAL-227
119b92a
Craig Walls Updated H2 version to 1.3.158 7dc8b56
Keith Donald polishing 0870acf
Keith Donald polish 7f81143
Craig Walls Update connection after provider sign in. SOCIAL-222 f5a36c2
Craig Walls ProviderSignInControllerTest a1bb632
Craig Walls Set Cache-Control: no-cache header in ConnectController for connectio…
…n status pages. SOCIAL-224
a5f1365
Craig Walls Set more cache-controlling headers to prevent caching of connection s…
…tatus pages. SOCIAL-224
2742a31
Craig Walls ConnectionKey implements Serializable. SOCIAL-225. 9a1a342
Craig Walls updated changelog.txt 9117603
Craig Walls Unified DuplicateTweetException and DuplicateStatusException into a c…
…ommon DuplicateStatusException
dd5b9f2
Stefan Fussenegger sfussenegger handle client errors while exchanging for access f4a45b6
Stefan Fussenegger sfussenegger throw exception if explicit auth fails ccfcc6f
Stefan Fussenegger sfussenegger fixed some bugs 2caf4ae
Al Baker

Any status on this pull request? Lots of folks looking for a more straight forward integration of Spring Security and Spring Social, such that social logins hook into the providers and create a login within spring security as well

sfussenegger added some commits
Stefan Fussenegger sfussenegger Merge branch 'master' into security
Conflicts:
	build.gradle
	docs/src/info/changelog.txt
	spring-social-web/src/main/java/org/springframework/social/connect/web/ConnectController.java
	spring-social-web/src/main/java/org/springframework/social/connect/web/ProviderSignInController.java
	spring-social-web/src/test/java/org/springframework/social/connect/web/ProviderSignInControllerTest.java
9533974
Stefan Fussenegger sfussenegger fixed after merging 6e6bb56
bfd
bfd commented

I second this request, it would be very helpful to have this in an official form and repository of some kind.

Stefan Fussenegger

@kdonald @habuma Any news on spring-social integration plans?

Craig Walls
Owner

It's on the roadmap for 1.1 and I hope to be able to focus more on that in the next several weeks. But at the moment I'm tied up with some unrelated stuff and just haven't had the opportunity to focus on this with the attention it deserves. I hope to have a more complete update for you soon.

Craig Walls habuma merged commit 6e6bb56 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 24, 2011
  1. Stefan Fussenegger

    initial commit

    sfussenegger authored
  2. Stefan Fussenegger

    added TODOs

    sfussenegger authored
  3. Stefan Fussenegger
  4. Stefan Fussenegger

    fixed javadoc warnings

    sfussenegger authored
  5. Stefan Fussenegger
  6. Stefan Fussenegger
  7. Stefan Fussenegger

    use SocialAuthenticationRegistry in SocialAuthenticationFitler to

    sfussenegger authored
    avoid 2nd mapping, reuse ConnectionFactoryLocator instead
  8. Stefan Fussenegger

    redirect to configurable signupUrl (default "/signup") for yet unknown

    sfussenegger authored
    connections for unauthenticated users
  9. Stefan Fussenegger

    - allow simpler configuration of postLoginUrl

    sfussenegger authored
    - don't redirect if implicit auth succeeds
  10. Stefan Fussenegger
  11. Stefan Fussenegger
Commits on Jun 14, 2011
  1. Stefan Fussenegger
  2. Stefan Fussenegger
  3. Stefan Fussenegger
Commits on Jun 15, 2011
  1. Stefan Fussenegger
Commits on Jun 22, 2011
  1. Stefan Fussenegger
  2. Stefan Fussenegger

    added failureHandler

    sfussenegger authored
  3. Stefan Fussenegger
  4. Stefan Fussenegger
Commits on Jun 27, 2011
  1. Stefan Fussenegger
  2. Stefan Fussenegger
Commits on Jun 28, 2011
  1. Stefan Fussenegger
  2. Stefan Fussenegger
  3. Stefan Fussenegger
  4. Stefan Fussenegger
Commits on Jun 29, 2011
  1. Stefan Fussenegger
Commits on Jul 1, 2011
  1. Stefan Fussenegger
Commits on Jul 6, 2011
  1. Stefan Fussenegger

    fixed possible NPE

    sfussenegger authored
Commits on Jul 22, 2011
  1. Stefan Fussenegger

    Using COALESCE instead of IFNULL for Postgres 8.4 support.

    Dolan Halbrook authored sfussenegger committed
  2. Stefan Fussenegger

    Added default constructor for InsufficientPermissionsException for ti…

    Craig Walls authored sfussenegger committed
    …mes when the required permission is unknown.
  3. Stefan Fussenegger

    Added some tests around ConnectionKey's equals(), hashCode(), and toS…

    Craig Walls authored sfussenegger committed
    …tring() methods as well as fixed symmetric bug in equals()
  4. Bruno Baia Stefan Fussenegger

    Polishing while porting to .NET

    bbaia authored sfussenegger committed
  5. Stefan Fussenegger

    Updated H2 and Jackson dependency versions

    Craig Walls authored sfussenegger committed
  6. Stefan Fussenegger

    Return redirect URL from SignInAdapter and redirect to it in Provider…

    Craig Walls authored sfussenegger committed
    …SignInController if it's not null. In this way it's possible for the SignInAdapter implementation to tell PSIC to redirect to the original target URL when the user was forced to sign in. SOCIAL-227
  7. Stefan Fussenegger

    Updated H2 version to 1.3.158

    Craig Walls authored sfussenegger committed
  8. Stefan Fussenegger

    polishing

    Keith Donald authored sfussenegger committed
  9. Stefan Fussenegger

    polish

    Keith Donald authored sfussenegger committed
  10. Stefan Fussenegger

    Update connection after provider sign in. SOCIAL-222

    Craig Walls authored sfussenegger committed
  11. Stefan Fussenegger

    ProviderSignInControllerTest

    Craig Walls authored sfussenegger committed
  12. Stefan Fussenegger

    Set Cache-Control: no-cache header in ConnectController for connectio…

    Craig Walls authored sfussenegger committed
    …n status pages. SOCIAL-224
  13. Stefan Fussenegger

    Set more cache-controlling headers to prevent caching of connection s…

    Craig Walls authored sfussenegger committed
    …tatus pages. SOCIAL-224
  14. Stefan Fussenegger

    ConnectionKey implements Serializable. SOCIAL-225.

    Craig Walls authored sfussenegger committed
  15. Stefan Fussenegger

    updated changelog.txt

    Craig Walls authored sfussenegger committed
  16. Stefan Fussenegger

    Unified DuplicateTweetException and DuplicateStatusException into a c…

    Craig Walls authored sfussenegger committed
    …ommon DuplicateStatusException
  17. Stefan Fussenegger
  18. Stefan Fussenegger
Commits on Aug 8, 2011
  1. Stefan Fussenegger

    fixed some bugs

    sfussenegger authored
Commits on Sep 9, 2011
  1. Stefan Fussenegger

    Merge branch 'master' into security

    sfussenegger authored
    Conflicts:
    	build.gradle
    	docs/src/info/changelog.txt
    	spring-social-web/src/main/java/org/springframework/social/connect/web/ConnectController.java
    	spring-social-web/src/main/java/org/springframework/social/connect/web/ProviderSignInController.java
    	spring-social-web/src/test/java/org/springframework/social/connect/web/ProviderSignInControllerTest.java
  2. Stefan Fussenegger

    fixed after merging

    sfussenegger authored
Something went wrong with that request. Please try again.