Method Security

XML

<global-method-security pre-post-annotations="enabled" />

Configuration Class

@EnableGlobalMethodSecurity(prePostEnabled = true, mode = AdviceMode.ASPECTJ)

Last updated