Class AccountStatusUserDetailsChecker
java.lang.Object
org.springframework.security.authentication.AccountStatusUserDetailsChecker
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.MessageSourceAware
,UserDetailsChecker
public class AccountStatusUserDetailsChecker
extends Object
implements UserDetailsChecker, org.springframework.context.MessageSourceAware
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.support.MessageSourceAccessor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
check
(UserDetails user) Examines the Uservoid
setMessageSource
(org.springframework.context.MessageSource messageSource)
-
Field Details
-
messages
protected org.springframework.context.support.MessageSourceAccessor messages
-
-
Constructor Details
-
AccountStatusUserDetailsChecker
public AccountStatusUserDetailsChecker()
-
-
Method Details
-
check
Description copied from interface:UserDetailsChecker
Examines the User- Specified by:
check
in interfaceUserDetailsChecker
- Parameters:
user
- the UserDetails instance whose status should be checked.
-
setMessageSource
public void setMessageSource(org.springframework.context.MessageSource messageSource) - Specified by:
setMessageSource
in interfaceorg.springframework.context.MessageSourceAware
- Since:
- 5.2
-