Class BaseSAML2KeystoreGenerator

java.lang.Object
org.pac4j.saml.metadata.keystore.BaseSAML2KeystoreGenerator
All Implemented Interfaces:
org.pac4j.core.keystore.generation.KeystoreGenerator, SAML2KeystoreGenerator
Direct Known Subclasses:
SAML2HttpUrlKeystoreGenerator

@Deprecated public abstract class BaseSAML2KeystoreGenerator extends Object implements SAML2KeystoreGenerator
Deprecated.
Since:
4.0.1
Author:
Misagh Moayyed
  • Field Details

    • CERTIFICATES_PREFIX

      protected static final String CERTIFICATES_PREFIX
      Deprecated.
      See Also:
    • logger

      protected final org.slf4j.Logger logger
      Deprecated.
    • saml2Configuration

      protected final SAML2Configuration saml2Configuration
      Deprecated.
  • Constructor Details

    • BaseSAML2KeystoreGenerator

      public BaseSAML2KeystoreGenerator(SAML2Configuration saml2Configuration)
      Deprecated.

      Constructor for BaseSAML2KeystoreGenerator.

      Parameters:
      saml2Configuration - a SAML2Configuration object
  • Method Details

    • shouldGenerate

      public boolean shouldGenerate()
      Deprecated.
      Specified by:
      shouldGenerate in interface org.pac4j.core.keystore.generation.KeystoreGenerator
    • generate

      public void generate()
      Deprecated.
      Specified by:
      generate in interface org.pac4j.core.keystore.generation.KeystoreGenerator
    • store

      protected abstract void store(KeyStore ks, X509Certificate certificate, PrivateKey privateKey) throws Exception
      Deprecated.

      store.

      Parameters:
      ks - a KeyStore object
      certificate - a X509Certificate object
      privateKey - a PrivateKey object
      Throws:
      Exception - if any.