After going through so many google sites, reading so many QA in stackoverflow, really getting confused how to implement SP using SAML 2 with Java.
I understand the theory concept but not getting a clue how to implement it exactly.
Currently, my client already shared IDP metadata file with me and asking for SP metadata file. This is my first struggling point.
Really appreciate if somebody help me in this context. Please correct me if my questions are not clear so that i will try to edit it.
If you need to build a SP in Java I would recommend using Spring SAML module or the OpenSAML library, but these may give you more work. If you end up using OpenSAML I have a book, A Guide to OpenSAML, introducing the SAML and the OpenSAML library.
I also have a blogg with many examples.
I would however recommend that you first look into using a ready product for SAML like Shibboleth which is a free and open source solution for SAML. This will save you from needing to learn the specifics of the SAML protocol and also it will be much safer as different security considerations have already been made by the developers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With