List of usage examples for org.apache.shiro.web.env EnvironmentLoader initEnvironment
public WebEnvironment initEnvironment(ServletContext servletContext) throws IllegalStateException
From source file:org.panifex.security.shiro.env.ModularEnvironmentLoaderTest.java
License:Open Source License
@Test(expected = IllegalStateException.class) public void testCreateEnvironmentWithoutPreparedModularWebEnvironment() { EnvironmentLoader loader = new ModularEnvironmentLoader(); loader.initEnvironment(servletContextMock); }