Class ChainingSingleLogoutServiceLogoutUrlBuilder

  • All Implemented Interfaces:
    org.apereo.cas.logout.slo.SingleLogoutServiceLogoutUrlBuilder, org.springframework.core.Ordered

    public class ChainingSingleLogoutServiceLogoutUrlBuilder
    extends java.lang.Object
    implements org.apereo.cas.logout.slo.SingleLogoutServiceLogoutUrlBuilder
    This is ChainingSingleLogoutServiceLogoutUrlBuilder which acts on a registered service to determine how the logout url endpoint should be decided.
    Since:
    5.0.0
    • Field Summary

      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<org.apereo.cas.logout.slo.SingleLogoutUrl> determineLogoutUrl​(org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.principal.WebApplicationService singleLogoutService, java.util.Optional<javax.servlet.http.HttpServletRequest> httpRequest)  
      boolean isServiceAuthorized​(org.apereo.cas.authentication.principal.WebApplicationService service, java.util.Optional<javax.servlet.http.HttpServletRequest> httpRequest)  
      boolean supports​(org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.principal.WebApplicationService singleLogoutService, java.util.Optional<javax.servlet.http.HttpServletRequest> httpRequest)  
      • 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, getOrder
    • Constructor Detail

      • ChainingSingleLogoutServiceLogoutUrlBuilder

        public ChainingSingleLogoutServiceLogoutUrlBuilder()
    • Method Detail

      • determineLogoutUrl

        public java.util.Collection<org.apereo.cas.logout.slo.SingleLogoutUrl> determineLogoutUrl​(org.apereo.cas.services.RegisteredService registeredService,
                                                                                                  org.apereo.cas.authentication.principal.WebApplicationService singleLogoutService,
                                                                                                  java.util.Optional<javax.servlet.http.HttpServletRequest> httpRequest)
        Specified by:
        determineLogoutUrl in interface org.apereo.cas.logout.slo.SingleLogoutServiceLogoutUrlBuilder
      • supports

        public boolean supports​(org.apereo.cas.services.RegisteredService registeredService,
                                org.apereo.cas.authentication.principal.WebApplicationService singleLogoutService,
                                java.util.Optional<javax.servlet.http.HttpServletRequest> httpRequest)
        Specified by:
        supports in interface org.apereo.cas.logout.slo.SingleLogoutServiceLogoutUrlBuilder
      • isServiceAuthorized

        public boolean isServiceAuthorized​(org.apereo.cas.authentication.principal.WebApplicationService service,
                                           java.util.Optional<javax.servlet.http.HttpServletRequest> httpRequest)
        Specified by:
        isServiceAuthorized in interface org.apereo.cas.logout.slo.SingleLogoutServiceLogoutUrlBuilder