public class ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry extends AbstractConfigAttributeRequestMatcherRegistry<T>
Constructor and Description |
---|
ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry() |
Modifier and Type | Method and Description |
---|---|
R |
accessDecisionManager(org.springframework.security.access.AccessDecisionManager accessDecisionManager)
Allows setting the
AccessDecisionManager . |
H |
and() |
protected ExpressionUrlAuthorizationConfigurer.AuthorizedUrl |
chainRequestMatchersInternal(List<org.springframework.security.web.util.matcher.RequestMatcher> requestMatchers)
Subclasses should implement this method for returning the object that is chained to the creation of the
RequestMatcher instances. |
ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry |
expressionHandler(org.springframework.security.access.expression.SecurityExpressionHandler<org.springframework.security.web.FilterInvocation> expressionHandler)
Allows customization of the
SecurityExpressionHandler to be used. |
R |
filterSecurityInterceptorOncePerRequest(boolean filterSecurityInterceptorOncePerRequest)
Allows setting if the
FilterSecurityInterceptor should be only applied once per request (i.e. |
ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry |
withObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor)
Adds an
ObjectPostProcessor for this class. |
chainRequestMatchers
antMatchers, antMatchers, anyRequest, regexMatchers, regexMatchers, requestMatchers
public ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry()
protected final ExpressionUrlAuthorizationConfigurer.AuthorizedUrl chainRequestMatchersInternal(List<org.springframework.security.web.util.matcher.RequestMatcher> requestMatchers)
AbstractConfigAttributeRequestMatcherRegistry
RequestMatcher
instances.chainRequestMatchersInternal
in class AbstractConfigAttributeRequestMatcherRegistry<ExpressionUrlAuthorizationConfigurer.AuthorizedUrl>
requestMatchers
- the RequestMatcher
instances that were createdRequestMatcher
public ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry expressionHandler(org.springframework.security.access.expression.SecurityExpressionHandler<org.springframework.security.web.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(org.springframework.security.access.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