Class CasProtocolServiceTicketResourceEntityResponseFactory

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apereo.cas.CentralAuthenticationService centralAuthenticationService
      The central authentication service implementation.
      • 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
      org.springframework.http.ResponseEntity<java.lang.String> build​(java.lang.String ticketGrantingTicket, org.apereo.cas.authentication.principal.WebApplicationService webApplicationService, org.apereo.cas.authentication.AuthenticationResult authenticationResult)
      Build response response entity.
      int getOrder()  
      protected java.lang.String grantServiceTicket​(java.lang.String ticketGrantingTicket, org.apereo.cas.authentication.principal.WebApplicationService service, org.apereo.cas.authentication.AuthenticationResult authenticationResult)
      Grant service ticket service ticket.
      boolean supports​(org.apereo.cas.authentication.principal.WebApplicationService service, org.apereo.cas.authentication.AuthenticationResult authenticationResult)
      Supports boolean.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • centralAuthenticationService

        protected final org.apereo.cas.CentralAuthenticationService centralAuthenticationService
        The central authentication service implementation.
    • Constructor Detail

      • CasProtocolServiceTicketResourceEntityResponseFactory

        public CasProtocolServiceTicketResourceEntityResponseFactory()
    • Method Detail

      • build

        public org.springframework.http.ResponseEntity<java.lang.String> build​(java.lang.String ticketGrantingTicket,
                                                                               org.apereo.cas.authentication.principal.WebApplicationService webApplicationService,
                                                                               org.apereo.cas.authentication.AuthenticationResult authenticationResult)
        Description copied from interface: ServiceTicketResourceEntityResponseFactory
        Build response response entity.
        Specified by:
        build in interface ServiceTicketResourceEntityResponseFactory
        Parameters:
        ticketGrantingTicket - the ticket granting ticket
        webApplicationService - the service
        authenticationResult - the authentication result
        Returns:
        the response entity
      • grantServiceTicket

        protected java.lang.String grantServiceTicket​(java.lang.String ticketGrantingTicket,
                                                      org.apereo.cas.authentication.principal.WebApplicationService service,
                                                      org.apereo.cas.authentication.AuthenticationResult authenticationResult)
        Grant service ticket service ticket.
        Parameters:
        ticketGrantingTicket - the ticket granting ticket
        service - the service
        authenticationResult - the authentication result
        Returns:
        the service ticket
      • supports

        public boolean supports​(org.apereo.cas.authentication.principal.WebApplicationService service,
                                org.apereo.cas.authentication.AuthenticationResult authenticationResult)
        Description copied from interface: ServiceTicketResourceEntityResponseFactory
        Supports boolean.
        Specified by:
        supports in interface ServiceTicketResourceEntityResponseFactory
        Parameters:
        service - the service
        authenticationResult - the authentication result
        Returns:
        true/false
      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered