Class WebApplicationServiceResponseBuilder

  • All Implemented Interfaces:
    java.io.Serializable, org.apereo.cas.authentication.principal.ResponseBuilder<org.apereo.cas.authentication.principal.WebApplicationService>, org.springframework.core.Ordered

    public class WebApplicationServiceResponseBuilder
    extends AbstractWebApplicationServiceResponseBuilder
    Default response builder that passes back the ticket id to the original url of the service based on the response type.
    Since:
    4.2
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apereo.cas.authentication.principal.Response build​(org.apereo.cas.authentication.principal.WebApplicationService service, java.lang.String serviceTicketId, org.apereo.cas.authentication.Authentication authentication)  
      protected org.apereo.cas.authentication.principal.WebApplicationService buildInternal​(org.apereo.cas.authentication.principal.WebApplicationService service, java.util.Map<java.lang.String,​java.lang.String> parameters)
      Build internal service.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.core.Ordered

        getOrder
      • Methods inherited from interface org.apereo.cas.authentication.principal.ResponseBuilder

        supports
    • Constructor Detail

      • WebApplicationServiceResponseBuilder

        public WebApplicationServiceResponseBuilder​(org.apereo.cas.services.ServicesManager servicesManager)
    • Method Detail

      • build

        public org.apereo.cas.authentication.principal.Response build​(org.apereo.cas.authentication.principal.WebApplicationService service,
                                                                      java.lang.String serviceTicketId,
                                                                      org.apereo.cas.authentication.Authentication authentication)
      • buildInternal

        protected org.apereo.cas.authentication.principal.WebApplicationService buildInternal​(org.apereo.cas.authentication.principal.WebApplicationService service,
                                                                                              java.util.Map<java.lang.String,​java.lang.String> parameters)
        Build internal service.
        Parameters:
        service - the service
        parameters - the parameters
        Returns:
        the service