@Override
    //since 1.2.1 for fixing SHIRO-350
    public void setSubjectDAO(SubjectDAO subjectDAO) {
        super.setSubjectDAO(subjectDAO);
        applySessionManagerToSessionStorageEvaluatorIfPossible();
    }
@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