Class WASAML2ClientKeystoreGenerator

java.lang.Object
org.pac4j.saml.metadata.keystore.BaseSAML2KeystoreGenerator
org.apache.syncope.wa.starter.pac4j.saml.WASAML2ClientKeystoreGenerator
All Implemented Interfaces:
org.pac4j.saml.metadata.keystore.SAML2KeystoreGenerator

public class WASAML2ClientKeystoreGenerator extends org.pac4j.saml.metadata.keystore.BaseSAML2KeystoreGenerator
  • Field Details

    • LOG

      protected static final Logger LOG
    • waRestClient

      protected final WARestClient waRestClient
    • saml2Client

      protected final org.pac4j.saml.client.SAML2Client saml2Client
  • Constructor Details

    • WASAML2ClientKeystoreGenerator

      public WASAML2ClientKeystoreGenerator(WARestClient waRestClient, org.pac4j.saml.client.SAML2Client saml2Client)
  • Method Details

    • shouldGenerate

      public boolean shouldGenerate()
      Specified by:
      shouldGenerate in interface org.pac4j.saml.metadata.keystore.SAML2KeystoreGenerator
      Overrides:
      shouldGenerate in class org.pac4j.saml.metadata.keystore.BaseSAML2KeystoreGenerator
    • store

      protected void store(KeyStore ks, X509Certificate certificate, PrivateKey privateKey) throws Exception
      Specified by:
      store in class org.pac4j.saml.metadata.keystore.BaseSAML2KeystoreGenerator
      Throws:
      Exception
    • retrieve

      public InputStream retrieve() throws Exception
      Throws:
      Exception