Update ldap/src/main/java/org/springframework/security/ldap/SpringSecuri...

...tyLdapTemplate.java

making these fields protected help in easily overriding this class that provides lots of useful functionality otherwise. In my case i required a search method that would return dns for all entries that match the given search criteria. An incredibly versatile method will be one that takes in a contextMapper in addition to base , filter, params etc.