public void setSecurityManager(org.apache.shiro.mgt.SecurityManager securityManager) {
        this.securityManager = securityManager;
    }
The SecurityManager used to retrieve realms that should be associated with the
created <tt>Subject</tt>s upon remote invocation.
support/spring/src/main/java/org/apache/shiro/spring/remoting/SecureRemoteInvocationExecutor.java