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.ObjectA builder forRequestMatcherDelegatingAuthorizationManager.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestMatcherDelegatingAuthorizationManager.Builderadd(RequestMatcher matcher, org.springframework.security.authorization.AuthorizationManager<RequestAuthorizationContext> manager)Maps aRequestMatcherto anAuthorizationManager.RequestMatcherDelegatingAuthorizationManagerbuild()Creates aRequestMatcherDelegatingAuthorizationManagerinstance.
-
-
-
Method Detail
-
add
public RequestMatcherDelegatingAuthorizationManager.Builder add(RequestMatcher matcher, org.springframework.security.authorization.AuthorizationManager<RequestAuthorizationContext> manager)
Maps aRequestMatcherto anAuthorizationManager.- Parameters:
matcher- theRequestMatcherto usemanager- theAuthorizationManagerto use- Returns:
- the
RequestMatcherDelegatingAuthorizationManager.Builderfor further customizations
-
build
public RequestMatcherDelegatingAuthorizationManager build()
Creates aRequestMatcherDelegatingAuthorizationManagerinstance.- Returns:
- the
RequestMatcherDelegatingAuthorizationManagerinstance
-
-