SAML 2 SSO for Spring based application

482 views
Skip to first unread message

Ravikumar Ganugapanta

unread,
Dec 27, 2017, 1:55:26 AM12/27/17
to Pac4j development mailing list
Hi,

I am a to SAML and I have got task to integrate existing Spring based application [not spring boot] with SAML SSO. I scanned through many pages, and got some basic concepts like Idp and SP and the meta data files.
I am trying out the sample application using pac4j- j2ee, but when I hit the SAML link it fails saying the metadata file is not uploaded or some thing else might be wrong. From where I can generate the meta data and also how to get the Idp metadata from gmail?

Everything seems to be very confusing to me and seems there is lot of setup involved.

What I am looking for is a step by step guide to integrate SAML SSO to a Spring based web application.[not spring boot], nor maven driven. 

Any help would be highly appreciated.

Jérôme LELEU

unread,
Dec 28, 2017, 3:24:35 AM12/28/17
to Ravikumar Ganugapanta, Pac4j development mailing list
Hi,

Here is the SAML documentation: http://www.pac4j.org/docs/clients/saml.html you'll need to follow whatever the pac4j security library you use.

Then, for a Spring-based web application, you can use j2e-pac4j, but I would recommend using the spring-webmvc-pac4j library: https://github.com/pac4j/spring-webmvc-pac4j and take a look at the associated demos: https://github.com/pac4j/spring-webmvc-pac4j-demo (or for Spring Boot: https://github.com/pac4j/spring-webmvc-pac4j-boot-demo).

Thanks.
Best regards,
Jérôme


--
You received this message because you are subscribed to the Google Groups "Pac4j development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pac4j-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages