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
,ApplicationListener<org.springframework.cloud.gateway.event.RefreshRoutesEvent>
,ServerWebExchangeMatcher
public class CsrfRouteMatcher extends AbstractRouteMatcher
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher
ServerWebExchangeMatcher.MatchResult
-
-
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 String
getCacheName()
reactor.core.publisher.Mono<ServerWebExchangeMatcher.MatchResult>
matches(ServerWebExchange exchange)
protected boolean
routeBehavior(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:
getCacheName
in classAbstractRouteMatcher
-
routeBehavior
protected boolean routeBehavior(org.springframework.cloud.gateway.route.Route route)
- Specified by:
routeBehavior
in classAbstractRouteMatcher
-
matches
public reactor.core.publisher.Mono<ServerWebExchangeMatcher.MatchResult> matches(ServerWebExchange exchange)
- Specified by:
matches
in interfaceServerWebExchangeMatcher
- Overrides:
matches
in classAbstractRouteMatcher
-
-