-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
in: coreAn issue in spring-security-coreAn issue in spring-security-corestatus: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement
Milestone
Description
Summary
I need to customize the behavior of the reactive method security expression handler. In the non reactive version this could be done extending GlobalMethodSecurityConfiguration
as stated in the documentation:
@EnableGlobalMethodSecurity(prePostEnabled = true)
public class MethodSecurityConfig extends GlobalMethodSecurityConfiguration {
@Override
protected MethodSecurityExpressionHandler createExpressionHandler() {
// ... create and return custom MethodSecurityExpressionHandler ...
return expressionHandler;
}
}
However, the reactive equivalent ReactiveMethodSecurityConfiguration
is a package-private class and can't be extended to modify the framework.
Actual Behavior
We can't modify the expression handler.
Expected Behavior
Allow the definition of a custom MethodSecurityExpressionHandler
Configuration
...
Version
5.2.0.RC1
jnfeinstein, espidev, joris-desmedt, CharlyRien, wickedev and 4 more
Metadata
Metadata
Assignees
Labels
in: coreAn issue in spring-security-coreAn issue in spring-security-corestatus: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement