spring-ldap-2.x does not allow to use userDn field directly

Spring LDAP as of version 2.0.0 made userDn field private which DefaultSpringSecurityContextSource used directly. Because of this webapps that had spring-security-3.2.x and spring-ldap-2.0.0 failed to deploy/initialize beans. This does not happen with spring-ldap-1.3.2 which has this field not private.

spring-ldap-2.0.2 created a workaround for this bug andmade userDn field protected and marked it as deprecated  with suggestion to use a getter method getUserDn().