title: Can Spring security SAML be used to configure IDPs at Runtime
body: <p>I'ld like to implement <code>SSO</code> using <code>SAML 2.0</code> in my web applications. I have seen <code>spring-security-saml</code> and example of <a href="https://github.com/vdenotaris/spring-boot-security-saml-sample" rel="nofollow noreferrer">spring boot application</a>. There are a couple of things I wanted to know after I went through the sample:</p>
  
  <ol>
  <li>Is it possible to take Idp Url and certificates at run time and use spring saml to validate against that <code>Idp</code>? (<em>So essentially I do not want to predefine any of the <code>Idp</code> related details and take an input from admin user to configure <code>Idp</code></em>)</li>
  <li>Is metadata of <code>Idp</code> a necessary field or Is it possible that if <code>IDP</code> is not reachable directly from the <code>SP</code> then also it can just create a <code>SAMLRequest</code> to the <code>Idp</code> <code>Url</code> provided?</li>
  </ol>