Package org.pac4j.saml.metadata.keystore
Class SAML2FileSystemKeystoreGenerator
- java.lang.Object
-
- org.pac4j.saml.metadata.keystore.BaseSAML2KeystoreGenerator
-
- org.pac4j.saml.metadata.keystore.SAML2FileSystemKeystoreGenerator
-
- All Implemented Interfaces:
SAML2KeystoreGenerator
public class SAML2FileSystemKeystoreGenerator extends BaseSAML2KeystoreGenerator
This isSAML2FileSystemKeystoreGenerator.- Since:
- 4.0.1
- Author:
- Misagh Moayyed
-
-
Field Summary
-
Fields inherited from class org.pac4j.saml.metadata.keystore.BaseSAML2KeystoreGenerator
CERTIFICATES_PREFIX, logger, saml2Configuration
-
-
Constructor Summary
Constructors Constructor Description SAML2FileSystemKeystoreGenerator(SAML2Configuration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStreamretrieve()booleanshouldGenerate()protected voidstore(java.security.KeyStore ks, java.security.cert.X509Certificate certificate, java.security.PrivateKey privateKey)-
Methods inherited from class org.pac4j.saml.metadata.keystore.BaseSAML2KeystoreGenerator
generate
-
-
-
-
Constructor Detail
-
SAML2FileSystemKeystoreGenerator
public SAML2FileSystemKeystoreGenerator(SAML2Configuration configuration)
-
-
Method Detail
-
shouldGenerate
public boolean shouldGenerate()
- Specified by:
shouldGeneratein interfaceSAML2KeystoreGenerator- Overrides:
shouldGeneratein classBaseSAML2KeystoreGenerator
-
retrieve
public java.io.InputStream retrieve() throws java.lang.Exception- Throws:
java.lang.Exception
-
store
protected void store(java.security.KeyStore ks, java.security.cert.X509Certificate certificate, java.security.PrivateKey privateKey) throws java.lang.Exception- Specified by:
storein classBaseSAML2KeystoreGenerator- Throws:
java.lang.Exception
-
-