Source:
public boolean isAccessible(Map context, Object target, Member member, String propertyName) { LOG.debug("Checking access for [target: {}, member: {}, property: {}]", target, member, propertyName); final int memberModifiers = member.getModifiers(); if (!checkPublicMemberAccess(memberModifiers)) { LOG.trace("Access to non-public is blocked!", member); return false; } if (!checkStaticFieldAccess(member, memberModifiers)) { LOG.warn("Access to static field is blocked!", member); return false; } if (checkEnumAccess(target, member)) { LOG.trace("Allowing access to enum: target [{}], member [{}]", target, member); return true; } if (!checkStaticMethodAccess(member, memberModifiers)) { LOG.warn("Access to static method is blocked!", member); return false; } final Class memberClass = member.getDeclaringClass(); if (isClassExcluded(memberClass)) { LOG.warn("Declaring class of member type is excluded!", member); return false; } final Class targetClass = Modifier.isStatic(memberModifiers) ? memberClass : target.getClass(); if (isPackageExcluded(targetClass.getPackage(), memberClass.getPackage())) { LOG.warn("Package of target class of target or package of member are excluded!", targetClass.getPackage(), targetClass, target, memberClass.getPackage(), member); return false; } if (isClassExcluded(targetClass)) { LOG.warn("Target class of target is excluded!", targetClass, target); return false; } if (disallowProxyMemberAccess && ProxyUtil.isProxyMember(member, target)) { LOG.warn("Access to proxy is blocked! Target class of target [{}], member [{}]", targetClass, target, member); return false; } return isAcceptableProperty(propertyName); }

Target:
public boolean isAccessible(Map context, Object target, Member member, String propertyName) { LOG.debug("Checking access for [target: {}, member: {}, property: {}]", target, member, propertyName); final int memberModifiers = member.getModifiers(); if (!checkPublicMemberAccess(memberModifiers)) { LOG.warn("Access to non-public is blocked!", member); return false; } if (!checkStaticFieldAccess(member, memberModifiers)) { LOG.warn("Access to static field is blocked!", member); return false; } if (checkEnumAccess(target, member)) { LOG.trace("Allowing access to enum: target [{}], member [{}]", target, member); return true; } if (!checkStaticMethodAccess(member, memberModifiers)) { LOG.warn("Access to static method is blocked!", member); return false; } final Class memberClass = member.getDeclaringClass(); if (isClassExcluded(memberClass)) { LOG.warn("Declaring class of member type is excluded!", member); return false; } final Class targetClass = Modifier.isStatic(memberModifiers) ? memberClass : target.getClass(); if (isPackageExcluded(targetClass.getPackage(), memberClass.getPackage())) { LOG.warn("Package of target class of target or package of member are excluded!", targetClass.getPackage(), targetClass, target, memberClass.getPackage(), member); return false; } if (isClassExcluded(targetClass)) { LOG.warn("Target class of target is excluded!", targetClass, target); return false; } if (disallowProxyMemberAccess && ProxyUtil.isProxyMember(member, target)) { LOG.warn("Access to proxy is blocked! Target class of target [{}], member [{}]", targetClass, target, member); return false; } return isAcceptableProperty(propertyName); }