Class AbstractIntegrationObjectRequestMatcher
java.lang.Object
de.hybris.platform.odata2webservices.matchers.AbstractIntegrationObjectRequestMatcher
- All Implemented Interfaces:
org.springframework.security.web.util.matcher.RequestMatcher
- Direct Known Subclasses:
BasicAuthMatcher,OAuthMatcher
public abstract class AbstractIntegrationObjectRequestMatcher
extends Object
implements org.springframework.security.web.util.matcher.RequestMatcher
Abstract implementation containing common logic for the Integration Services request matchers.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.security.web.util.matcher.RequestMatcher
org.springframework.security.web.util.matcher.RequestMatcher.MatchResult -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractIntegrationObjectRequestMatcher(IntegrationObjectService integrationObjectService, ServiceNameExtractor serviceNameExtractor, FlexibleSearchService flexibleSearchService) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract AuthorizationPrefixRetrieves the authorization prefix from the matcher.booleanmatches(javax.servlet.http.HttpServletRequest httpServletRequest) protected abstract booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.web.util.matcher.RequestMatcher
matcher
-
Constructor Details
-
AbstractIntegrationObjectRequestMatcher
protected AbstractIntegrationObjectRequestMatcher(IntegrationObjectService integrationObjectService, ServiceNameExtractor serviceNameExtractor, FlexibleSearchService flexibleSearchService)
-
-
Method Details
-
matches
public boolean matches(javax.servlet.http.HttpServletRequest httpServletRequest) - Specified by:
matchesin interfaceorg.springframework.security.web.util.matcher.RequestMatcher
-
matchesSecurityLegacyMode
protected abstract boolean matchesSecurityLegacyMode() -
getAuthorizationPrefix
Retrieves the authorization prefix from the matcher.- Returns:
- the matcher's authorization header value.
-