What is Spring Security`secured-annotations="enabled"` analogue for Java Config? -
consider use java config spring security:
@configuration @enablewebsecurity public class securityconfig extends websecurityconfigureradapter { ... }
how can analogue of xml configuration
<global-method-security secured-annotations="enabled" />
?
you can use @enableglobalmethodsecurity
annotation configure , set securedenabled
annotation attribute true
.
enables spring security global method security similar
<global-method-security>
xml support.
Comments
Post a Comment