Class AbstractArgumentExtractor

  • All Implemented Interfaces:
    org.apereo.cas.web.support.ArgumentExtractor
    Direct Known Subclasses:
    DefaultArgumentExtractor

    public abstract class AbstractArgumentExtractor
    extends java.lang.Object
    implements org.apereo.cas.web.support.ArgumentExtractor
    Abstract class for handling argument extraction.
    Since:
    3.1.2
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<org.apereo.cas.authentication.principal.ServiceFactory<? extends org.apereo.cas.authentication.principal.WebApplicationService>> serviceFactories
      The factory responsible for creating service objects based on the arguments extracted.
      • Fields inherited from interface org.apereo.cas.web.support.ArgumentExtractor

        BEAN_NAME
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      org.apereo.cas.authentication.principal.WebApplicationService extractService​(javax.servlet.http.HttpServletRequest request)  
      protected abstract org.apereo.cas.authentication.principal.WebApplicationService extractServiceInternal​(javax.servlet.http.HttpServletRequest request)
      Extract service from the request.
      org.apereo.cas.authentication.principal.ServiceFactory<? extends org.apereo.cas.authentication.principal.WebApplicationService> getServiceFactory()  
      • 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.web.support.ArgumentExtractor

        getServiceFactories
    • Field Detail

      • serviceFactories

        protected java.util.List<org.apereo.cas.authentication.principal.ServiceFactory<? extends org.apereo.cas.authentication.principal.WebApplicationService>> serviceFactories
        The factory responsible for creating service objects based on the arguments extracted.
    • Constructor Detail

      • AbstractArgumentExtractor

        public AbstractArgumentExtractor()
    • Method Detail

      • extractService

        public org.apereo.cas.authentication.principal.WebApplicationService extractService​(javax.servlet.http.HttpServletRequest request)
        Specified by:
        extractService in interface org.apereo.cas.web.support.ArgumentExtractor
      • extractServiceInternal

        protected abstract org.apereo.cas.authentication.principal.WebApplicationService extractServiceInternal​(javax.servlet.http.HttpServletRequest request)
        Extract service from the request.
        Parameters:
        request - the request
        Returns:
        the web application service
      • getServiceFactory

        public org.apereo.cas.authentication.principal.ServiceFactory<? extends org.apereo.cas.authentication.principal.WebApplicationService> getServiceFactory()