Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.4.0
-
None
-
None
-
centos 7 using tomcat 8.5.x
Description
shiro.ini
[main]
- for conf details see: http://shiro.apache.org/session-management.html
- before enabling this make sure shiro-ehcache is included in framework/build.gradle
- ehcacheManager = org.apache.shiro.cache.ehcache.EhCacheManager
- NOTE: no credentialsMatcher set here, configured in Moqui conf file (moqui-conf.user-facade.password.@encrypt-hash-type)
moquiRealm = org.moqui.impl.util.MoquiShiroRealm
- securityManager.cacheManager = $ehcacheManager
securityManager.realms = $moquiRealm
Call to setup security manager results in
java.lang.NoSuchMethodError: org.apache.commons.beanutils.PropertyUtilsBean.addBeanIntrospector(Lorg/apache/commons/beanutils/BeanIntrospector;)V
org.apache.shiro.config.ReflectionBuilder.<init>(ReflectionBuilder.java:127) ~[shiro-core-1.4.0.jar:1.4.0]
org.apache.shiro.config.ReflectionBuilder.<init>(ReflectionBuilder.java:120) ~[shiro-core-1.4.0.jar:1.4.0]
org.apache.shiro.config.IniSecurityManagerFactory.<init>(IniSecurityManagerFactory.java:64) ~[shiro-core-1.4.0.jar:1.4.0]
org.apache.shiro.config.IniSecurityManagerFactory.<init>(IniSecurityManagerFactory.java:68) ~[shiro-core-1.4.0.jar:1.4.0]
org.apache.shiro.config.IniSecurityManagerFactory.<init>(IniSecurityManagerFactory.java:73) ~[shiro-core-1.4.0.jar:1.4.0]
org.moqui.impl.context.ExecutionContextFactoryImpl.getSecurityManager(ExecutionContextFactoryImpl.groovy:863) ~[moqui-framework-2.1.1.jar:2.1.1]