当前位置: 动力学知识库 > 问答 > 编程问答 >

How to override Spring Security annotation defined in a library class

问题描述:

I am using a library that has a controller annotated with @PreAuthorize("hasRole('ROLE_USER')"). Is there a way to override the annotation from my code? I do not want to fork or modify the library.

分享给朋友:
您可能感兴趣的文章:
随机阅读: