Class SamlIdPSingleLogoutServiceLogoutUrlBuilder

java.lang.Object
org.apereo.cas.logout.slo.BaseSingleLogoutServiceLogoutUrlBuilder
org.apereo.cas.support.saml.web.idp.profile.slo.SamlIdPSingleLogoutServiceLogoutUrlBuilder
All Implemented Interfaces:
org.apereo.cas.logout.slo.SingleLogoutServiceLogoutUrlBuilder, org.springframework.core.Ordered

public class SamlIdPSingleLogoutServiceLogoutUrlBuilder extends org.apereo.cas.logout.slo.BaseSingleLogoutServiceLogoutUrlBuilder
Since:
5.0.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final List<String>
    The logout request bindings.
    static final String
    Property to indicate the binding for the saml logout profile.
    protected final org.apereo.cas.support.saml.services.idp.metadata.cache.SamlRegisteredServiceCachingMetadataResolver
    The Saml registered service caching metadata resolver.

    Fields inherited from class org.apereo.cas.logout.slo.BaseSingleLogoutServiceLogoutUrlBuilder

    servicesManager, urlValidator

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    SamlIdPSingleLogoutServiceLogoutUrlBuilder(org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.support.saml.services.idp.metadata.cache.SamlRegisteredServiceCachingMetadataResolver resolver, org.apereo.cas.web.UrlValidator urlValidator, org.apereo.cas.configuration.model.support.saml.idp.SamlIdPProperties samlIdPProperties)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Collection<org.apereo.cas.logout.slo.SingleLogoutUrl>
    determineLogoutUrl(org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.principal.WebApplicationService singleLogoutService, Optional<jakarta.servlet.http.HttpServletRequest> httpRequest)
     
    int
     
    boolean
    supports(org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.principal.WebApplicationService singleLogoutService, Optional<jakarta.servlet.http.HttpServletRequest> httpRequest)
     

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

    getServicesManager, getUrlValidator, isServiceAuthorized

    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.SingleLogoutServiceLogoutUrlBuilder

    determineLogoutUrl, getName
  • Field Details

    • PROPERTY_NAME_SINGLE_LOGOUT_BINDING

      public static final String PROPERTY_NAME_SINGLE_LOGOUT_BINDING
      Property to indicate the binding for the saml logout profile.
      See Also:
    • samlRegisteredServiceCachingMetadataResolver

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

      protected final List<String> logoutRequestBindings
      The logout request bindings.
  • Constructor Details

    • SamlIdPSingleLogoutServiceLogoutUrlBuilder

      public SamlIdPSingleLogoutServiceLogoutUrlBuilder(org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.support.saml.services.idp.metadata.cache.SamlRegisteredServiceCachingMetadataResolver resolver, org.apereo.cas.web.UrlValidator urlValidator, org.apereo.cas.configuration.model.support.saml.idp.SamlIdPProperties samlIdPProperties)
  • Method Details

    • supports

      public boolean supports(org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.principal.WebApplicationService singleLogoutService, Optional<jakarta.servlet.http.HttpServletRequest> httpRequest)
      Specified by:
      supports in interface org.apereo.cas.logout.slo.SingleLogoutServiceLogoutUrlBuilder
      Overrides:
      supports in class org.apereo.cas.logout.slo.BaseSingleLogoutServiceLogoutUrlBuilder
    • determineLogoutUrl

      public Collection<org.apereo.cas.logout.slo.SingleLogoutUrl> determineLogoutUrl(org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.principal.WebApplicationService singleLogoutService, Optional<jakarta.servlet.http.HttpServletRequest> httpRequest)
      Specified by:
      determineLogoutUrl in interface org.apereo.cas.logout.slo.SingleLogoutServiceLogoutUrlBuilder
      Overrides:
      determineLogoutUrl in class org.apereo.cas.logout.slo.BaseSingleLogoutServiceLogoutUrlBuilder
    • getOrder

      public int getOrder()