Class SSOSamlPostProfileHandlerEndpoint


  • @RestControllerEndpoint(id="samlPostProfileResponse",
                            enableByDefault=false)
    public class SSOSamlPostProfileHandlerEndpoint
    extends org.apereo.cas.web.BaseCasActuatorEndpoint
    Since:
    6.1.0
    • Field Summary

      • Fields inherited from class org.apereo.cas.web.BaseCasActuatorEndpoint

        casProperties
    • Constructor Summary

      Constructors 
      Constructor Description
      SSOSamlPostProfileHandlerEndpoint​(org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.authentication.AuthenticationSystemSupport authenticationSystemSupport, org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> serviceFactory, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory, SamlProfileObjectBuilder<? extends org.opensaml.saml.common.SAMLObject> responseBuilder, org.apereo.cas.support.saml.services.idp.metadata.cache.SamlRegisteredServiceCachingMetadataResolver defaultSamlRegisteredServiceCachingMetadataResolver, org.apereo.cas.support.saml.util.AbstractSaml20ObjectBuilder saml20ObjectBuilder)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.http.ResponseEntity<java.lang.Object> produce​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Produce response entity.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SSOSamlPostProfileHandlerEndpoint

        public SSOSamlPostProfileHandlerEndpoint​(org.apereo.cas.configuration.CasConfigurationProperties casProperties,
                                                 org.apereo.cas.services.ServicesManager servicesManager,
                                                 org.apereo.cas.authentication.AuthenticationSystemSupport authenticationSystemSupport,
                                                 org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> serviceFactory,
                                                 org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
                                                 SamlProfileObjectBuilder<? extends org.opensaml.saml.common.SAMLObject> responseBuilder,
                                                 org.apereo.cas.support.saml.services.idp.metadata.cache.SamlRegisteredServiceCachingMetadataResolver defaultSamlRegisteredServiceCachingMetadataResolver,
                                                 org.apereo.cas.support.saml.util.AbstractSaml20ObjectBuilder saml20ObjectBuilder)
    • Method Detail

      • produce

        @GetMapping(produces="application/xml")
        @ResponseBody
        public org.springframework.http.ResponseEntity<java.lang.Object> produce​(javax.servlet.http.HttpServletRequest request,
                                                                                 javax.servlet.http.HttpServletResponse response)
        Produce response entity.
        Parameters:
        request - the request
        response - the response
        Returns:
        the response entity