Class WebApplicationServiceFactory

  • All Implemented Interfaces:
    org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService>, org.springframework.core.Ordered

    public class WebApplicationServiceFactory
    extends AbstractServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService>
    The WebApplicationServiceFactory is responsible for creating WebApplicationService objects.
    Since:
    4.2
    • Field Summary

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

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Constructor Detail

      • WebApplicationServiceFactory

        public WebApplicationServiceFactory()
    • Method Detail

      • newWebApplicationService

        protected static AbstractWebApplicationService newWebApplicationService​(javax.servlet.http.HttpServletRequest request,
                                                                                java.lang.String serviceToUse)
        Build new web application service simple web application service.
        Parameters:
        request - the request
        serviceToUse - the service to use
        Returns:
        the simple web application service
      • getRequestedService

        protected java.lang.String getRequestedService​(javax.servlet.http.HttpServletRequest request)
        Gets requested service.
        Parameters:
        request - the request
        Returns:
        the requested service
      • createService

        public org.apereo.cas.authentication.principal.WebApplicationService createService​(javax.servlet.http.HttpServletRequest request)
      • createService

        public org.apereo.cas.authentication.principal.WebApplicationService createService​(java.lang.String id)