public Collection<Realm> getRealms() {
        return realms;
    }
Returns the {@link Realm Realm}s managed by this SecurityManager instance.

@return the {@link Realm Realm}s managed by this SecurityManager instance.
core/src/main/java/org/apache/shiro/mgt/RealmSecurityManager.java