Class RequestMatcherDelegatingAuthorizationManager.Builder
- java.lang.Object
-
- org.springframework.security.web.access.intercept.RequestMatcherDelegatingAuthorizationManager.Builder
-
- Enclosing class:
- RequestMatcherDelegatingAuthorizationManager
public static final class RequestMatcherDelegatingAuthorizationManager.Builder extends java.lang.Object
A builder forRequestMatcherDelegatingAuthorizationManager
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestMatcherDelegatingAuthorizationManager.Builder
add(RequestMatcher matcher, org.springframework.security.authorization.AuthorizationManager<RequestAuthorizationContext> manager)
Maps aRequestMatcher
to anAuthorizationManager
.RequestMatcherDelegatingAuthorizationManager
build()
Creates aRequestMatcherDelegatingAuthorizationManager
instance.
-
-
-
Method Detail
-
add
public RequestMatcherDelegatingAuthorizationManager.Builder add(RequestMatcher matcher, org.springframework.security.authorization.AuthorizationManager<RequestAuthorizationContext> manager)
Maps aRequestMatcher
to anAuthorizationManager
.- Parameters:
matcher
- theRequestMatcher
to usemanager
- theAuthorizationManager
to use- Returns:
- the
RequestMatcherDelegatingAuthorizationManager.Builder
for further customizations
-
build
public RequestMatcherDelegatingAuthorizationManager build()
Creates aRequestMatcherDelegatingAuthorizationManager
instance.- Returns:
- the
RequestMatcherDelegatingAuthorizationManager
instance
-
-