Class TokenWebApplicationServiceResponseBuilder

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

    public class TokenWebApplicationServiceResponseBuilder
    extends org.apereo.cas.authentication.principal.WebApplicationServiceResponseBuilder
    Since:
    5.1.0
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.apereo.cas.authentication.principal.AbstractWebApplicationServiceResponseBuilder

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

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Constructor Summary

      Constructors 
      Constructor Description
      TokenWebApplicationServiceResponseBuilder​(org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.token.TokenTicketBuilder tokenTicketBuilder, org.apereo.cas.web.UrlValidator urlValidator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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)  
      protected java.lang.String generateToken​(org.apereo.cas.authentication.principal.WebApplicationService service, java.util.Map<java.lang.String,​java.lang.String> parameters)
      Generate token string.
      • Methods inherited from class org.apereo.cas.authentication.principal.WebApplicationServiceResponseBuilder

        build, canEqual, equals, getOrder, hashCode, setOrder
      • Methods inherited from class org.apereo.cas.authentication.principal.AbstractWebApplicationServiceResponseBuilder

        buildHeader, buildPost, buildRedirect, determineServiceResponseUrl, getServicesManager, getUrlValidator, getWebApplicationServiceResponseType
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apereo.cas.authentication.principal.ResponseBuilder

        supports
    • Constructor Detail

      • TokenWebApplicationServiceResponseBuilder

        public TokenWebApplicationServiceResponseBuilder​(org.apereo.cas.services.ServicesManager servicesManager,
                                                         org.apereo.cas.token.TokenTicketBuilder tokenTicketBuilder,
                                                         org.apereo.cas.web.UrlValidator urlValidator)
    • Method Detail

      • 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)
        Overrides:
        buildInternal in class org.apereo.cas.authentication.principal.WebApplicationServiceResponseBuilder
      • generateToken

        protected java.lang.String generateToken​(org.apereo.cas.authentication.principal.WebApplicationService service,
                                                 java.util.Map<java.lang.String,​java.lang.String> parameters)
        Generate token string.
        Parameters:
        service - the service
        parameters - the parameters
        Returns:
        the jwt