title: Identity Provider Implementation with SAML V2 and Java
body: <p>After successfully implementing <strong>SAML-V2 Service Provider (SP)</strong>; for supporting some specific use-case, I have to implement my own <strong>SAML-2 IdP</strong>. After going through <a href="http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html" rel="nofollow noreferrer">OASIS Documentation</a> and many others about the SAML protocol, I have started implementing it.    </p>
  
  <ul>
  <li>My Use-case is just a single profile (<code>Web Browser SSO Profile</code>) with  <code>SP-Initiated SSO: Redirect Bindings</code> only. </li>
  </ul>
  
  <p>I am looking for some lean third-party library or java based implementation which I can refer/use to speed up the implementation and customize on top of that. </p>
  
  <p><strong>Would love for any recommendation or suggestion in this direction.</strong>  </p>
  
  <p>To be specific I'm looking for any/all of below :   </p>
  
  <ul>
  <li>Easy to use open-source library for implementing SAML-V2 Identity Provider in Java.</li>
  <li>Detailed documentation/specification for above profile. </li>
  <li>Any advice from experts who have past experience in implementation such kind of IdP.</li>
  </ul>
  
  <hr>
  
  <p>There is lots of material available for SP. However, very few and complex for IdP. 
  Some of the java-based implementation which I am already looking are : <a href="https://github.com/keycloak/keycloak" rel="nofollow noreferrer">KeyCloak</a> and <a href="https://github.com/amdonov/lite-idp" rel="nofollow noreferrer">Lite-IdP</a>.</p>