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
Fields Modifier and Type Field Description protected static LoggerLOGprotected org.pac4j.saml.client.SAML2Clientsaml2Clientprotected WARestClientwaRestClient
-
Constructor Summary
Constructors Constructor Description WASAML2ClientKeystoreGenerator(WARestClient waRestClient, org.pac4j.saml.client.SAML2Client saml2Client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamretrieve()booleanshouldGenerate()protected voidstore(KeyStore ks, X509Certificate certificate, PrivateKey privateKey)
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
waRestClient
protected final WARestClient waRestClient
-
saml2Client
protected final org.pac4j.saml.client.SAML2Client saml2Client
-
-
Constructor Detail
-
WASAML2ClientKeystoreGenerator
public WASAML2ClientKeystoreGenerator(WARestClient waRestClient, org.pac4j.saml.client.SAML2Client saml2Client)
-
-
Method Detail
-
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
public InputStream retrieve() throws Exception
- Throws:
Exception
-
-