Results 1 to 2 of 2

Thread: Need Tipps for Spring Security Authentication with Third-Party-Service

  1. #1
    Join Date
    Feb 2013
    Posts
    1

    Default Need Tipps for Spring Security Authentication with Third-Party-Service

    Hello Folks,

    i am a real newby with Spring and Spring Security, but i love it from the first time. And now i am standing in front of a big problem and i hope that anyone can help me out with it.

    I want to use spring MVC and spring security as backend-Stack for my new webapplication. One requirement is to authenticat the user with a third-party service. This is nothing special because the logic is done and i get credentials from this service. But now i want to handle this credentials with Spring Security. Has anyone some tipps for me? How can i implement the authentication-provider?

    I hope you can understand my problem and i wish anyone a nice day.

    Greetings from berlin

    Micha

  2. #2
    Join Date
    Jan 2008
    Posts
    1,826

    Default

    You simply need to authenticate the user and then set the SecurityContextHolder with a SecurityContext that contains an Authentication that is authenticated. For an example, see https://github.com/rwinch/getting-st...ontroller.java
    Rob Winch - @rob_winch
    Spring Security Lead
    Pivotal

Posting Permissions

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