Package org.pac4j.saml.metadata.keystore
Class BaseSAML2KeystoreGenerator
java.lang.Object
org.pac4j.saml.metadata.keystore.BaseSAML2KeystoreGenerator
- All Implemented Interfaces:
SAML2KeystoreGenerator
- Direct Known Subclasses:
SAML2FileSystemKeystoreGenerator,SAML2HttpUrlKeystoreGenerator
This is
BaseSAML2KeystoreGenerator.- Since:
- 4.0.1
- Author:
- Misagh Moayyed
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected final org.slf4j.Loggerprotected final SAML2Configuration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate()booleanprotected abstract voidstore(KeyStore ks, X509Certificate certificate, PrivateKey privateKey) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.pac4j.saml.metadata.keystore.SAML2KeystoreGenerator
retrieve
-
Field Details
-
CERTIFICATES_PREFIX
- See Also:
-
logger
protected final org.slf4j.Logger logger -
saml2Configuration
-
-
Constructor Details
-
BaseSAML2KeystoreGenerator
-
-
Method Details
-
shouldGenerate
public boolean shouldGenerate()- Specified by:
shouldGeneratein interfaceSAML2KeystoreGenerator
-
generate
public void generate()- Specified by:
generatein interfaceSAML2KeystoreGenerator
-
store
protected abstract void store(KeyStore ks, X509Certificate certificate, PrivateKey privateKey) throws Exception - Throws:
Exception
-