Class DefaultArgumentExtractor

  • All Implemented Interfaces:
    org.apereo.cas.web.support.ArgumentExtractor

    public class DefaultArgumentExtractor
    extends AbstractArgumentExtractor
    The default argument extractor is responsible for creating service objects based on requests. The task of creating services is delegated to a service factory that is pluggable for each instance of the extractor.
    Since:
    4.2
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultArgumentExtractor​(java.util.List<org.apereo.cas.authentication.principal.ServiceFactory<? extends org.apereo.cas.authentication.principal.WebApplicationService>> serviceFactoryList)  
      DefaultArgumentExtractor​(org.apereo.cas.authentication.principal.ServiceFactory<? extends org.apereo.cas.authentication.principal.WebApplicationService> serviceFactory)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apereo.cas.authentication.principal.WebApplicationService extractServiceInternal​(javax.servlet.http.HttpServletRequest request)
      Extract service from the request.
      • 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
    • Constructor Detail

      • DefaultArgumentExtractor

        public DefaultArgumentExtractor​(org.apereo.cas.authentication.principal.ServiceFactory<? extends org.apereo.cas.authentication.principal.WebApplicationService> serviceFactory)
      • DefaultArgumentExtractor

        public DefaultArgumentExtractor​(java.util.List<org.apereo.cas.authentication.principal.ServiceFactory<? extends org.apereo.cas.authentication.principal.WebApplicationService>> serviceFactoryList)
    • Method Detail

      • extractServiceInternal

        public org.apereo.cas.authentication.principal.WebApplicationService extractServiceInternal​(javax.servlet.http.HttpServletRequest request)
        Description copied from class: AbstractArgumentExtractor
        Extract service from the request.
        Specified by:
        extractServiceInternal in class AbstractArgumentExtractor
        Parameters:
        request - the request
        Returns:
        the web application service