@Override
    public void setSecurityManager(SecurityManager securityManager) {
        assertWebSecurityManager(securityManager);
        super.setSecurityManager(securityManager);
    }
Default {@link WebEnvironment} implementation based on a backing {@link Map} instance.

@since 1.2
web/src/main/java/org/apache/shiro/web/env/DefaultWebEnvironment.java