Hi,
we'd like to do SSO authentication with spring security 3 using Crowds REST API. Unfortunately there is nothing in the docs about it, because in the present examples only the SOAP interface is used.
Maybe you got some pointers where to look? CrowdHttpAuthenticator class looks promising but it is not compatible with CrowdSSOAuthenticationProcessingFilter class.
Thanks,
Felix
Community moderators have prevented the ability to post new answers.
Hi Felix,
I don't know if this will help you at all, but we have successfully reached a point in development with Crowd Rest API (CrowdHttpAuthenticator) + Spring Boot in which if I login to any of our SSO Atlassian apps or my custom app, they will all honour the SSO session. This is how we did it:
Context Configuration
@Configuration @ImportResource("classpath:applicationContext-CrowdRestClient.xml") public class MyContextConfiguration { }
After that the application should redirect to your crowd login page when there is no SSO session.
NOTE: I haven't implemented any login/logout actions on the app itself. Nor does the crowd login page redirect back to the application. There is also a few minute delay after logging out of another app before the application will ask for a new login.
I'm sure you can get a lot of information from the applicationContext-CrowdRestClient.xml file included in crowd-integration-client-rest.x.x.x.jar.
Hope this helps.
Regards,
Kurt
Hi Kurt,
thanks for answering! I'm sure we'd need to implement custom login/logout methods and frankly i was hoping that sth premade could be found for this (exotic?) usecase... Nevertheless thanks again for answering and let me investigate the application-context file in the .jar. Nice pointer!
Thanks,
Felix
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.