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