Class SamlIdPMetadataController

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean

    @Controller("samlIdPMetadataController")
    public class SamlIdPMetadataController
    extends java.lang.Object
    implements org.springframework.beans.factory.InitializingBean
    The SamlIdPMetadataController will attempt to produce saml metadata for CAS as an identity provider.
    Since:
    5.0.0
    • Constructor Detail

      • SamlIdPMetadataController

        public SamlIdPMetadataController()
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      • generateMetadataForIdp

        @GetMapping(path="/idp/metadata")
        public void generateMetadataForIdp​(javax.servlet.http.HttpServletResponse response)
                                    throws java.io.IOException
        Displays the identity provider metadata. Checks to make sure metadata exists, and if not, generates it first.
        Parameters:
        response - servlet response
        Throws:
        java.io.IOException - the iO exception