public class AccountStatusUserDetailsChecker extends java.lang.Object implements UserDetailsChecker, org.springframework.context.MessageSourceAware
Modifier and Type | Field and Description |
---|---|
protected org.springframework.context.support.MessageSourceAccessor |
messages |
Constructor and Description |
---|
AccountStatusUserDetailsChecker() |
Modifier and Type | Method and Description |
---|---|
void |
check(UserDetails user)
Examines the User
|
void |
setMessageSource(org.springframework.context.MessageSource messageSource) |
public void check(UserDetails user)
UserDetailsChecker
check
in interface UserDetailsChecker
user
- the UserDetails instance whose status should be checked.public void setMessageSource(org.springframework.context.MessageSource messageSource)
setMessageSource
in interface org.springframework.context.MessageSourceAware