Package org.apache.syncope.sra.security
Class AbstractRouteMatcher
java.lang.Object
org.apache.syncope.sra.security.AbstractRouteMatcher
- All Implemented Interfaces:
EventListener,ApplicationListener<org.springframework.cloud.gateway.event.RefreshRoutesEvent>,ServerWebExchangeMatcher
- Direct Known Subclasses:
CsrfRouteMatcher,LogoutRouteMatcher,PublicRouteMatcher
public abstract class AbstractRouteMatcher
extends Object
implements ServerWebExchangeMatcher, ApplicationListener<org.springframework.cloud.gateway.event.RefreshRoutesEvent>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher
ServerWebExchangeMatcher.MatchResult -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Stringreactor.core.publisher.Mono<ServerWebExchangeMatcher.MatchResult> matches(ServerWebExchange exchange) voidonApplicationEvent(org.springframework.cloud.gateway.event.RefreshRoutesEvent event) protected abstract booleanrouteBehavior(org.springframework.cloud.gateway.route.Route route) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Field Details
-
CACHE
-
routeProvider
-
-
Constructor Details
-
AbstractRouteMatcher
public AbstractRouteMatcher()
-
-
Method Details
-
getCacheName
-
routeBehavior
protected abstract boolean routeBehavior(org.springframework.cloud.gateway.route.Route route) -
onApplicationEvent
public void onApplicationEvent(org.springframework.cloud.gateway.event.RefreshRoutesEvent event) - Specified by:
onApplicationEventin interfaceApplicationListener<org.springframework.cloud.gateway.event.RefreshRoutesEvent>
-
matches
public reactor.core.publisher.Mono<ServerWebExchangeMatcher.MatchResult> matches(ServerWebExchange exchange) - Specified by:
matchesin interfaceServerWebExchangeMatcher
-