@Retention(value=RUNTIME) @Target(value=TYPE) @Documented @Import(value=org.springframework.security.config.annotation.method.configuration.ReactiveMethodSecuritySelector.class) @Configuration public @interface EnableReactiveMethodSecurity
|Modifier and Type||Optional Element and Description|
Indicate how security advice should be applied.
Indicate the ordering of the execution of the security advisor when multiple advices are applied at a specific joinpoint.
Indicate whether subclass-based (CGLIB) proxies are to be created as opposed to standard Java interface-based proxies.
public abstract boolean proxyTargetClass
false. Applicable only if
mode()is set to
Note that setting this attribute to
true will affect all
Spring-managed beans requiring proxying, not just those marked with
@Cacheable. For example, other beans marked with Spring's
@Transactional annotation will be upgraded to subclass proxying at the same
time. This approach has no negative impact in practice unless one is explicitly
expecting one type of proxy vs another, e.g. in tests.
public abstract org.springframework.context.annotation.AdviceMode mode