Package org.apereo.cas.web.support
Class DefaultArgumentExtractor
- java.lang.Object
-
- org.apereo.cas.web.support.AbstractArgumentExtractor
-
- org.apereo.cas.web.support.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
-
-
Field Summary
-
Fields inherited from class org.apereo.cas.web.support.AbstractArgumentExtractor
serviceFactories
-
-
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.WebApplicationServiceextractServiceInternal(javax.servlet.http.HttpServletRequest request)Extract service from the request.-
Methods inherited from class org.apereo.cas.web.support.AbstractArgumentExtractor
extractService, getServiceFactory
-
-
-
-
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:AbstractArgumentExtractorExtract service from the request.- Specified by:
extractServiceInternalin classAbstractArgumentExtractor- Parameters:
request- the request- Returns:
- the web application service
-
-