We want to build one spring MVC based application which will support below use case:
- User access the application URL to login into application.
- Once the valid credentials are entered to login into application, the user can access any of the service provider application for performing SSO.
- On the access of any service provider application the SAML response should be generated and post to the Service provider ACS(Assertion consumer service) URL.
- Also in addition to IDP initiated SSO, it should also support SP initiated SSO where the authentication request will we posted to the application login page, after valid credentials are entered by user, the application should redirect to service provider(which have posted the authentication request).
The application should have its own login page and authentication mechanism, it should not redirect to any other identity provider for authentication.
Should we use normal Spring MVC based application which will generated the SAML response using open SAML library, or any other SAML builder can be used for satisfying the above use case.