="token plain">@PostFilter(&quot;hasAuthority(&#x27;class&#x27;)&quot;)</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">@PreAuthorize(&quot;hasAuthority(&#x27;class&#x27;)&quot;)</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">@PreFilter(&quot;hasAuthority(&#x27;class&#x27;)&quot;)</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">public class HelloController {</span><br></span><span c