Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
バンドル JMSSecurityExtraBundleを使用します。
@事前認証、
独自の表現方法を追加でき、
@PreAuthorize("myMethod('class', 'perm')")
たとえば、ACL パーミッションを使用する場合、次のようなものを追加できます。
@PreAuthorize("isGranted('myObject', 'CREATE')")
@セキュア、
ユーザーの役割に基づいて、誰がメソッドを呼び出すことができるかを定義するだけです。
@Secure(roles="ROLE_XXXX")