use of org.apache.shiro.web.mgt.DefaultWebSecurityManager in project shiro by apache.
the class AbstractShiroWebConfiguration method createSecurityManager.
protected SessionsSecurityManager createSecurityManager() {
DefaultWebSecurityManager securityManager = new DefaultWebSecurityManager();
securityManager.setSubjectDAO(subjectDAO());
securityManager.setSubjectFactory(subjectFactory());
securityManager.setRememberMeManager(rememberMeManager());
return securityManager;
}
Aggregations