SEC-2173: Override toString method in SystemWideSaltSource
Now prints the saltSource string instead of the object memory signature.
This commit is contained in:
parent
7325b97c76
commit
1c50a86661
|
@ -52,4 +52,13 @@ public class SystemWideSaltSource implements SaltSource, InitializingBean {
|
||||||
public void setSystemWideSalt(String systemWideSalt) {
|
public void setSystemWideSalt(String systemWideSalt) {
|
||||||
this.systemWideSalt = systemWideSalt;
|
this.systemWideSalt = systemWideSalt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @since 3.2.3
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return systemWideSalt;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue