public class ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry extends AbstractConfigAttributeRequestMatcherRegistry<T>
Constructor and Description |
---|
ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry() |
chainRequestMatchers
antMatchers, antMatchers, anyRequest, regexMatchers, regexMatchers, requestMatchers
public ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry()
protected final ExpressionUrlAuthorizationConfigurer.AuthorizedUrl chainRequestMatchersInternal(List<RequestMatcher> requestMatchers)
AbstractConfigAttributeRequestMatcherRegistry
RequestMatcher
instances.chainRequestMatchersInternal
in class AbstractConfigAttributeRequestMatcherRegistry<ExpressionUrlAuthorizationConfigurer.AuthorizedUrl>
requestMatchers
- the RequestMatcher
instances that were createdRequestMatcher
public ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry expressionHandler(SecurityExpressionHandler<FilterInvocation> expressionHandler)
SecurityExpressionHandler
to be used. The default is DefaultWebSecurityExpressionHandler
expressionHandler
- the SecurityExpressionHandler
to be usedExpressionUrlAuthorizationConfigurer
for further customization.public ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry withObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor)
ObjectPostProcessor
for this class.objectPostProcessor
- ExpressionUrlAuthorizationConfigurer
for further customizationspublic H and()
public R accessDecisionManager(AccessDecisionManager accessDecisionManager)
AccessDecisionManager
. If none is provided, a default is
created.accessDecisionManager
- the AccessDecisionManager
to useAbstractInterceptUrlConfigurer
for further customizationpublic R filterSecurityInterceptorOncePerRequest(boolean filterSecurityInterceptorOncePerRequest)
FilterSecurityInterceptor
should be only applied once per request (i.e. if the
filter intercepts on a forward, should it be applied again).filterSecurityInterceptorOncePerRequest
- if the FilterSecurityInterceptor
should be only applied
once per requestAbstractInterceptUrlConfigurer
for further customization