1

I am trying to integrate Atlassian Crowd with Spring Security.

The available code samples on this are very few, especially for Spring Boot. I have only found this.

This example calls class CrowdUserDetailsServiceImpl method setAuthenticationManager(), which has vanished in the haze in version 2.8.0 (compare 2.8.0 and 2.7.1 APIs).

Question: how should I replace the method call in 2.8.0 to make things work?

Kara
  • 6,115
  • 16
  • 50
  • 57
masa
  • 2,762
  • 3
  • 21
  • 32
  • See [crowd-spring-security-sample](https://bitbucket.org/jwalton/crowd-spring-security-sample) for another example, albeit one that's not up to date yet either. – Joe Dec 30 '14 at 12:23
  • 1
    Thanks. However, I did not find anything related to this problem in the example. My current understanding is that 2.8.0 does not require anything to replace the method call, my code is almost fully up and running already. What worries me still is the lack of code examples and community support for the integration of Crowd with Spring Security (already looking for other alternatives)... – masa Dec 30 '14 at 13:01

1 Answers1

0

As you've found, there's no need to replace this method call. The AuthenticationManager is no longer needed by the CrowdUserDetailsServiceImpl in 2.8.

This applicationContext-security.xml shows a working example of wiring with Spring.

Joe
  • 29,416
  • 12
  • 68
  • 88