Package org.apache.syncope.sra.security
Class CsrfRouteMatcher
- java.lang.Object
-
- org.apache.syncope.sra.security.AbstractRouteMatcher
-
- org.apache.syncope.sra.security.CsrfRouteMatcher
-
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.cloud.gateway.event.RefreshRoutesEvent>,org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher
public class CsrfRouteMatcher extends AbstractRouteMatcher
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.sra.security.AbstractRouteMatcher
CACHE, routeProvider
-
-
Constructor Summary
Constructors Constructor Description CsrfRouteMatcher(PublicRouteMatcher publicRouteMatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetCacheName()reactor.core.publisher.Mono<org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher.MatchResult>matches(org.springframework.web.server.ServerWebExchange exchange)protected booleanrouteBehavior(org.springframework.cloud.gateway.route.Route route)-
Methods inherited from class org.apache.syncope.sra.security.AbstractRouteMatcher
onApplicationEvent
-
-
-
-
Constructor Detail
-
CsrfRouteMatcher
public CsrfRouteMatcher(PublicRouteMatcher publicRouteMatcher)
-
-
Method Detail
-
getCacheName
protected String getCacheName()
- Specified by:
getCacheNamein classAbstractRouteMatcher
-
routeBehavior
protected boolean routeBehavior(org.springframework.cloud.gateway.route.Route route)
- Specified by:
routeBehaviorin classAbstractRouteMatcher
-
matches
public reactor.core.publisher.Mono<org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher.MatchResult> matches(org.springframework.web.server.ServerWebExchange exchange)
- Specified by:
matchesin interfaceorg.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher- Overrides:
matchesin classAbstractRouteMatcher
-
-