Description
Found while reading the code in EnvironmentLoader#createEnvironment():
Class<?> clazz = determineWebEnvironmentClass(sc); if (!MutableWebEnvironment.class.isAssignableFrom(clazz)) { throw new ConfigurationException("Custom WebEnvironment class [" + clazz.getName() + "] is not of required type [" + WebEnvironment.class.getName() + "]"); }
The message says you need a WebEnvironment, the check (and later code) however requires _Mutable_WebEnvironment.
Attachments
Issue Links
- Is contained by
-
SHIRO-436 Add EnvironmentLoader finalizeEnvironment method
- Resolved