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 Summary
FieldsModifier and TypeFieldDescriptionprotected static final Loggerprotected final org.pac4j.saml.client.SAML2Clientprotected final WARestClientFields inherited from class org.pac4j.saml.metadata.keystore.BaseSAML2KeystoreGenerator
CERTIFICATES_PREFIX, logger, saml2Configuration -
Constructor Summary
ConstructorsConstructorDescriptionWASAML2ClientKeystoreGenerator(WARestClient waRestClient, org.pac4j.saml.client.SAML2Client saml2Client) -
Method Summary
Modifier and TypeMethodDescriptionretrieve()booleanprotected voidstore(KeyStore ks, X509Certificate certificate, PrivateKey privateKey) Methods inherited from class org.pac4j.saml.metadata.keystore.BaseSAML2KeystoreGenerator
generate
-
Field Details
-
LOG
-
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:
shouldGeneratein interfaceorg.pac4j.saml.metadata.keystore.SAML2KeystoreGenerator- Overrides:
shouldGeneratein classorg.pac4j.saml.metadata.keystore.BaseSAML2KeystoreGenerator
-
store
protected void store(KeyStore ks, X509Certificate certificate, PrivateKey privateKey) throws Exception - Specified by:
storein classorg.pac4j.saml.metadata.keystore.BaseSAML2KeystoreGenerator- Throws:
Exception
-
retrieve
- Throws:
Exception
-