SEC-2360: AbstractRememberMeServices provide message for Assert on key fieldd

This commit is contained in:
Adrien be 2013-10-08 16:37:31 +02:00 committed by Rob Winch
parent 0b0e7dbea9
commit e50b587d60
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}