Class WASamlIdPMetadataGenerator

  • All Implemented Interfaces:
    org.apereo.cas.support.saml.idp.metadata.generator.SamlIdPMetadataGenerator

    public class WASamlIdPMetadataGenerator
    extends org.apereo.cas.support.saml.idp.metadata.generator.BaseSamlIdPMetadataGenerator
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apereo.cas.support.saml.idp.metadata.generator.BaseSamlIdPMetadataGenerator

        org.apereo.cas.support.saml.idp.metadata.generator.BaseSamlIdPMetadataGenerator.IdPMetadataTemplateContext
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static Logger LOG  
      protected WARestClient waRestClient  
      • Fields inherited from interface org.apereo.cas.support.saml.idp.metadata.generator.SamlIdPMetadataGenerator

        BEGIN_CERTIFICATE, END_CERTIFICATE
    • Constructor Summary

      Constructors 
      Constructor Description
      WASamlIdPMetadataGenerator​(org.apereo.cas.support.saml.idp.metadata.generator.SamlIdPMetadataGeneratorConfigurationContext samlIdPMetadataGeneratorConfigurationContext, WARestClient waRestClient)  
    • Field Detail

      • LOG

        protected static final Logger LOG
    • Constructor Detail

      • WASamlIdPMetadataGenerator

        public WASamlIdPMetadataGenerator​(org.apereo.cas.support.saml.idp.metadata.generator.SamlIdPMetadataGeneratorConfigurationContext samlIdPMetadataGeneratorConfigurationContext,
                                          WARestClient waRestClient)
    • Method Detail

      • finalizeMetadataDocument

        protected org.apereo.cas.support.saml.services.idp.metadata.SamlIdPMetadataDocument finalizeMetadataDocument​(org.apereo.cas.support.saml.services.idp.metadata.SamlIdPMetadataDocument doc,
                                                                                                                     Optional<org.apereo.cas.support.saml.services.SamlRegisteredService> registeredService)
                                                                                                              throws Exception
        Overrides:
        finalizeMetadataDocument in class org.apereo.cas.support.saml.idp.metadata.generator.BaseSamlIdPMetadataGenerator
        Throws:
        Exception
      • buildSelfSignedEncryptionCert

        public Pair<String,​String> buildSelfSignedEncryptionCert​(Optional<org.apereo.cas.support.saml.services.SamlRegisteredService> registeredService)
                                                                throws Exception
        Specified by:
        buildSelfSignedEncryptionCert in class org.apereo.cas.support.saml.idp.metadata.generator.BaseSamlIdPMetadataGenerator
        Throws:
        Exception
      • buildSelfSignedSigningCert

        public Pair<String,​String> buildSelfSignedSigningCert​(Optional<org.apereo.cas.support.saml.services.SamlRegisteredService> registeredService)
                                                             throws Exception
        Specified by:
        buildSelfSignedSigningCert in class org.apereo.cas.support.saml.idp.metadata.generator.BaseSamlIdPMetadataGenerator
        Throws:
        Exception