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();