AbstractContextSource.getUserDn() should be public

Fixes gh-353
This commit is contained in:
Eddú Meléndez
2016-02-18 20:58:27 +10:00
committed by Rob Winch
parent 1ffd11acd8
commit 06caf71e1a
2 changed files with 4 additions and 4 deletions

View File

@@ -497,8 +497,8 @@ public abstract class AbstractContextSource implements BaseLdapPathContextSource
*
* @return the user distinguished name.
*/
protected String getUserDn() {
return userDn;
public String getUserDn() {
return this.userDn;
}
/**

View File

@@ -42,8 +42,8 @@ public class Ldap294Tests {
// Verify a subclass outside of package scope can access password
// and userDn since Spring Security needs to be able to access these
// properties.
String pass = super.password;
String userDn = super.userDn;
String pass = super.getPassword();
String userDn = super.getUserDn();
return null;
}