@SuppressWarnings({"UnusedDeclaration"})
    @Deprecated
    public String getSessionMode() {
        return sessionMode;
    }
@deprecated as of 1.2.  This should NOT be used for anything other than determining if the sessionMode has changed.
web/src/main/java/org/apache/shiro/web/mgt/DefaultWebSecurityManager.java