diff --git a/config/ogdl/src/main/java/org/apache/shiro/config/ogdl/ReflectionBuilder.java b/config/ogdl/src/main/java/org/apache/shiro/config/ogdl/ReflectionBuilder.java index 82ebac0ec8..f198eba0d6 100644 --- a/config/ogdl/src/main/java/org/apache/shiro/config/ogdl/ReflectionBuilder.java +++ b/config/ogdl/src/main/java/org/apache/shiro/config/ogdl/ReflectionBuilder.java @@ -29,8 +29,10 @@ import java.util.Map; import java.util.Set; import java.util.function.Function; + import org.apache.commons.beanutils.BeanUtilsBean; import org.apache.commons.beanutils.ConvertUtilsBean; +import org.apache.commons.beanutils.FluentPropertyBeanIntrospector; import org.apache.commons.beanutils.SuppressPropertiesBeanIntrospector; import org.apache.shiro.lang.codec.Base64; import org.apache.shiro.lang.codec.Hex; @@ -139,6 +141,7 @@ public Object convert(String value, Class clazz) { } }); beanUtilsBean.getPropertyUtils().addBeanIntrospector(SuppressPropertiesBeanIntrospector.SUPPRESS_CLASS); + beanUtilsBean.getPropertyUtils().addBeanIntrospector(new FluentPropertyBeanIntrospector()); this.interpolator = createInterpolator();