use of org.apache.shiro.mgt.SecurityManager in project qi4j-sdk by Qi4j.
the class StandaloneShiroTest method documentationSupport_before.
public void documentationSupport_before() {
// START SNIPPET: before
IniSecurityManagerFactory factory = new IniSecurityManagerFactory("classpath:standalone-shiro.ini");
SecurityManager securityManager = factory.getInstance();
SecurityUtils.setSecurityManager(securityManager);
// END SNIPPET: before
}
Aggregations