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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract String
reactor.core.publisher.Mono
<ServerWebExchangeMatcher.MatchResult> matches
(ServerWebExchange exchange) void
onApplicationEvent
(org.springframework.cloud.gateway.event.RefreshRoutesEvent event) protected abstract boolean
routeBehavior
(org.springframework.cloud.gateway.route.Route route) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
onApplicationEvent
in interfaceApplicationListener<org.springframework.cloud.gateway.event.RefreshRoutesEvent>
-
matches
public reactor.core.publisher.Mono<ServerWebExchangeMatcher.MatchResult> matches(ServerWebExchange exchange) - Specified by:
matches
in interfaceServerWebExchangeMatcher
-