mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 17:22:13 +00:00
SEC-2360: AbstractRememberMeServices provide message for Assert on key fieldd
This commit is contained in:
parent
0b0e7dbea9
commit
e50b587d60
@ -81,7 +81,7 @@ public abstract class AbstractRememberMeServices implements RememberMeServices,
|
||||
}
|
||||
|
||||
public void afterPropertiesSet() throws Exception {
|
||||
Assert.hasLength(key);
|
||||
Assert.hasLength(key, "key cannot be empty or null");
|
||||
Assert.notNull(userDetailsService, "A UserDetailsService is required");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user