mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-23 20:42:14 +00:00
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…
x
Reference in New Issue
Block a user