Package org.flowable.ui.common.security
Class ActuatorRequestMatcher
- java.lang.Object
-
- org.springframework.boot.security.servlet.ApplicationContextRequestMatcher<org.springframework.web.context.WebApplicationContext>
-
- org.flowable.ui.common.security.ActuatorRequestMatcher
-
- All Implemented Interfaces:
org.springframework.security.web.util.matcher.RequestMatcher
public class ActuatorRequestMatcher extends org.springframework.boot.security.servlet.ApplicationContextRequestMatcher<org.springframework.web.context.WebApplicationContext>ARequestMatcherthat is matches all endpoints of an actuator. It should be used when creating a request matcher when configuring Spring Security. This class is needed as there is no such support from Spring Boot at this moment.- Author:
- Filip Hrisafov
-
-
Constructor Summary
Constructors Constructor Description ActuatorRequestMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.security.web.util.matcher.RequestMatchercreateDelegate(org.springframework.web.context.WebApplicationContext context, org.flowable.ui.common.security.ActuatorRequestMatcher.RequestMatcherFactory requestMatcherFactory)protected voidinitialized(Supplier<org.springframework.web.context.WebApplicationContext> context)protected booleanmatches(javax.servlet.http.HttpServletRequest request, Supplier<org.springframework.web.context.WebApplicationContext> context)-
Methods inherited from class org.springframework.boot.security.servlet.ApplicationContextRequestMatcher
ignoreApplicationContext, matches
-
-
-
-
Method Detail
-
initialized
protected final void initialized(Supplier<org.springframework.web.context.WebApplicationContext> context)
- Overrides:
initializedin classorg.springframework.boot.security.servlet.ApplicationContextRequestMatcher<org.springframework.web.context.WebApplicationContext>
-
matches
protected final boolean matches(javax.servlet.http.HttpServletRequest request, Supplier<org.springframework.web.context.WebApplicationContext> context)- Specified by:
matchesin classorg.springframework.boot.security.servlet.ApplicationContextRequestMatcher<org.springframework.web.context.WebApplicationContext>
-
createDelegate
protected org.springframework.security.web.util.matcher.RequestMatcher createDelegate(org.springframework.web.context.WebApplicationContext context, org.flowable.ui.common.security.ActuatorRequestMatcher.RequestMatcherFactory requestMatcherFactory)
-
-