lass="token-line" style="color:#F8F8F2"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">    @GetMapping(&quot;/security&quot;)</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">    @PostAuthorize(&quot;hasAuthority(&#x27;method&#x27;)&quot;)</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">    @PostFilter(&quot;hasAuthority(&#x27;m