First calls <code>super.afterRealmsSet()</code> and then sets these same <code>Realm</code> objects on this
instance's wrapped {@link Authorizer Authorizer}.
<p/>
The setting of realms the Authorizer will only occur if it is an instance of
{@link hunt.shiro.authz.ModularRealmAuthorizer ModularRealmAuthorizer}, that is:
<pre>
if ( this.authorizer instanceof ModularRealmAuthorizer ) {
((ModularRealmAuthorizer)this.authorizer).setRealms(realms);
}</pre>
First calls <code>super.afterRealmsSet()</code> and then sets these same <code>Realm</code> objects on this instance's wrapped {@link Authorizer Authorizer}. <p/> The setting of realms the Authorizer will only occur if it is an instance of {@link hunt.shiro.authz.ModularRealmAuthorizer ModularRealmAuthorizer}, that is: <pre> if ( this.authorizer instanceof ModularRealmAuthorizer ) { ((ModularRealmAuthorizer)this.authorizer).setRealms(realms); }</pre>