ass="methodSignature">public&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>[]&nbsp;getRolesAllowed()</pre>
<div class="block">Gets the names of the authorized roles.

 <p>
 Duplicate role names appearing in getRolesAllowed are insignificant and may be discarded. The String <tt>"*"</tt> has
 no special meaning as a role name (should it occur in getRolesAllowed).</div>
<d