public class TemplatedMetadataAndCertificatesGenerationService extends java.lang.Object implements SamlIdpMetadataAndCertificatesGenerationService
| Constructor and Description |
|---|
TemplatedMetadataAndCertificatesGenerationService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildMetadataGeneratorParameters()
Build metadata generator parameters by passing the encryption,
signing and back-channel certs to the parameter generator.
|
protected void |
buildSelfSignedEncryptionCert()
Build self signed encryption cert.
|
protected void |
buildSelfSignedSigningCert()
Build self signed signing cert.
|
void |
initialize()
Initializes a new Generate saml metadata.
|
boolean |
isMetadataMissing()
Is metadata missing?
|
java.io.File |
performGenerationSteps()
Perform the metadata generation steps.
|
public TemplatedMetadataAndCertificatesGenerationService()
@PostConstruct public void initialize()
public boolean isMetadataMissing()
public java.io.File performGenerationSteps()
SamlIdpMetadataAndCertificatesGenerationServiceperformGenerationSteps in interface SamlIdpMetadataAndCertificatesGenerationServiceprotected void buildSelfSignedEncryptionCert()
throws java.lang.Exception
java.lang.Exception - the exceptionprotected void buildSelfSignedSigningCert()
throws java.lang.Exception
java.lang.Exception - the exceptionprotected void buildMetadataGeneratorParameters()
throws java.lang.Exception
java.lang.Exception - Thrown if cert files are missing, or metadata file inaccessible.