public static final class DelegatingAuthorizationManager.Builder
extends java.lang.Object
DelegatingAuthorizationManager
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DelegatingAuthorizationManager.Builder |
add(RequestMatcher matcher,
AuthorizationManager<RequestAuthorizationContext> manager)
Maps a
RequestMatcher to an AuthorizationManager . |
DelegatingAuthorizationManager |
build()
Creates a
DelegatingAuthorizationManager instance. |
public DelegatingAuthorizationManager.Builder add(RequestMatcher matcher, AuthorizationManager<RequestAuthorizationContext> manager)
RequestMatcher
to an AuthorizationManager
.matcher
- the RequestMatcher
to usemanager
- the AuthorizationManager
to useDelegatingAuthorizationManager.Builder
for further customizationspublic DelegatingAuthorizationManager build()
DelegatingAuthorizationManager
instance.DelegatingAuthorizationManager
instance