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…
Reference in New Issue