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
Modifier and TypeFieldDescriptionprotected static final Logger
protected final org.pac4j.saml.client.SAML2Client
protected final WARestClient
Fields inherited from class org.pac4j.saml.metadata.keystore.BaseSAML2KeystoreGenerator
CERTIFICATES_PREFIX, logger, saml2Configuration
-
Constructor Summary
ConstructorDescriptionWASAML2ClientKeystoreGenerator
(WARestClient waRestClient, org.pac4j.saml.client.SAML2Client saml2Client) -
Method Summary
Modifier and TypeMethodDescriptionretrieve()
boolean
protected void
store
(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:
shouldGenerate
in interfaceorg.pac4j.saml.metadata.keystore.SAML2KeystoreGenerator
- Overrides:
shouldGenerate
in classorg.pac4j.saml.metadata.keystore.BaseSAML2KeystoreGenerator
-
store
protected void store(KeyStore ks, X509Certificate certificate, PrivateKey privateKey) throws Exception - Specified by:
store
in classorg.pac4j.saml.metadata.keystore.BaseSAML2KeystoreGenerator
- Throws:
Exception
-
retrieve
- Throws:
Exception
-