SEC-2173: Override toString method in SystemWideSaltSource

Now prints the saltSource string instead of the object memory signature.
This commit is contained in:
Gamal Shaban 2013-05-28 22:57:48 +02:00 committed by Rob Winch
parent 7325b97c76
commit 1c50a86661
1 changed files with 9 additions and 0 deletions

View File

@ -52,4 +52,13 @@ public class SystemWideSaltSource implements SaltSource, InitializingBean {
public void setSystemWideSalt(String systemWideSalt) {
this.systemWideSalt = systemWideSalt;
}
/**
* @since 3.2.3
* @return
*/
@Override
public String toString() {
return systemWideSalt;
}
}