Spring Security に特定のアノテーションを使用する
には、config(applicationContext.xml) で明示的に許可する必要があることに直面しました
。例:
<sec:global-method-security secured-annotations="enabled" />
<sec:global-method-security jsr250-annotations="enabled" />
...
フレームワーク化されたアプリケーションで許可されている注釈を明示的に宣言するアプローチには、どのような利点がありますか?
オーバーコンフィギュレーションのようですね。