Class SamlIdPSingleLogoutServiceMessageHandler

java.lang.Object
org.apereo.cas.logout.slo.BaseSingleLogoutServiceMessageHandler
org.apereo.cas.support.saml.web.idp.profile.slo.SamlIdPSingleLogoutServiceMessageHandler
All Implemented Interfaces:
org.apereo.cas.logout.slo.SingleLogoutServiceMessageHandler, org.springframework.core.Ordered

public class SamlIdPSingleLogoutServiceMessageHandler extends org.apereo.cas.logout.slo.BaseSingleLogoutServiceMessageHandler
Since:
6.0.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final org.apereo.cas.support.saml.OpenSamlConfigBean
    The opensaml configuration bean.
    protected final org.apereo.cas.support.saml.services.idp.metadata.cache.SamlRegisteredServiceCachingMetadataResolver
    The Saml registered service caching metadata resolver.
    protected final org.apache.velocity.app.VelocityEngine
    The velocity engine used to render logout messages.

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    SamlIdPSingleLogoutServiceMessageHandler(org.apereo.cas.util.http.HttpClient httpClient, org.apereo.cas.logout.slo.SingleLogoutMessageCreator logoutMessageBuilder, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.logout.slo.SingleLogoutServiceLogoutUrlBuilder singleLogoutServiceLogoutUrlBuilder, boolean asynchronous, org.apereo.cas.authentication.AuthenticationServiceSelectionPlan authenticationRequestServiceSelectionStrategies, org.apereo.cas.support.saml.services.idp.metadata.cache.SamlRegisteredServiceCachingMetadataResolver samlRegisteredServiceCachingMetadataResolver, org.apache.velocity.app.VelocityEngine velocityEngineFactory, org.apereo.cas.support.saml.OpenSamlConfigBean openSamlConfigBean)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    protected boolean
    sendMessageToEndpoint(org.apereo.cas.logout.LogoutHttpMessage msg, org.apereo.cas.logout.slo.SingleLogoutRequestContext request, org.apereo.cas.logout.slo.SingleLogoutMessage logoutMessage)
     
    protected boolean
    supportsInternal(org.apereo.cas.authentication.principal.WebApplicationService singleLogoutService, org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.logout.SingleLogoutExecutionRequest context)
     

    Methods inherited from class org.apereo.cas.logout.slo.BaseSingleLogoutServiceMessageHandler

    createLogoutRequest, createLogoutRequests, createSingleLogoutMessage, getAuthenticationRequestServiceSelectionStrategies, getHttpClient, getLogoutHttpMessageToSend, getLogoutMessageBuilder, getServicesManager, getSingleLogoutServiceLogoutUrlBuilder, handle, isAsynchronous, performBackChannelLogout, sendSingleLogoutMessage, supports

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apereo.cas.logout.slo.SingleLogoutServiceMessageHandler

    getName
  • Field Details

    • samlRegisteredServiceCachingMetadataResolver

      protected final org.apereo.cas.support.saml.services.idp.metadata.cache.SamlRegisteredServiceCachingMetadataResolver samlRegisteredServiceCachingMetadataResolver
      The Saml registered service caching metadata resolver.
    • velocityEngineFactory

      protected final org.apache.velocity.app.VelocityEngine velocityEngineFactory
      The velocity engine used to render logout messages.
    • openSamlConfigBean

      protected final org.apereo.cas.support.saml.OpenSamlConfigBean openSamlConfigBean
      The opensaml configuration bean.
  • Constructor Details

    • SamlIdPSingleLogoutServiceMessageHandler

      public SamlIdPSingleLogoutServiceMessageHandler(org.apereo.cas.util.http.HttpClient httpClient, org.apereo.cas.logout.slo.SingleLogoutMessageCreator logoutMessageBuilder, org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.logout.slo.SingleLogoutServiceLogoutUrlBuilder singleLogoutServiceLogoutUrlBuilder, boolean asynchronous, org.apereo.cas.authentication.AuthenticationServiceSelectionPlan authenticationRequestServiceSelectionStrategies, org.apereo.cas.support.saml.services.idp.metadata.cache.SamlRegisteredServiceCachingMetadataResolver samlRegisteredServiceCachingMetadataResolver, org.apache.velocity.app.VelocityEngine velocityEngineFactory, org.apereo.cas.support.saml.OpenSamlConfigBean openSamlConfigBean)
  • Method Details

    • getOrder

      public int getOrder()
    • supportsInternal

      protected boolean supportsInternal(org.apereo.cas.authentication.principal.WebApplicationService singleLogoutService, org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.logout.SingleLogoutExecutionRequest context)
      Overrides:
      supportsInternal in class org.apereo.cas.logout.slo.BaseSingleLogoutServiceMessageHandler
    • sendMessageToEndpoint

      protected boolean sendMessageToEndpoint(org.apereo.cas.logout.LogoutHttpMessage msg, org.apereo.cas.logout.slo.SingleLogoutRequestContext request, org.apereo.cas.logout.slo.SingleLogoutMessage logoutMessage)
      Overrides:
      sendMessageToEndpoint in class org.apereo.cas.logout.slo.BaseSingleLogoutServiceMessageHandler