Examples of DisabledSessionManager


Examples of org.apache.activemq.shiro.session.mgt.DisabledSessionManager

    public DefaultActiveMqSecurityManager() {
        super();

        //disable sessions entirely:
        setSessionManager(new DisabledSessionManager());

        //also prevent the SecurityManager impl from using the Session as a storage medium (i.e. after authc):
        DefaultSubjectDAO subjectDao = (DefaultSubjectDAO)getSubjectDAO();
        DefaultSessionStorageEvaluator sessionStorageEvaluator =
                (DefaultSessionStorageEvaluator)subjectDao.getSessionStorageEvaluator();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.