Announcement Announcement Module
Collapse
No announcement yet.
Need Tipps for Spring Security Authentication with Third-Party-Service Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Comment

    Working...
    X