|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserDetailsChecker
Called by classes which make use of a UserDetailsService
to check the status of the loaded
UserDetails object. Typically this will involve examining the various flags associated with the account and
raising an exception if the information cannot be used (for example if the user account is locked or disabled), but
a custom implementation could perform any checks it wished.
The intention is that this interface should only be used for checks on the persistent data associated with the user. It should not involved in making any authentication decisions based on a submitted authentication request.
AccountStatusUserDetailsChecker
,
AccountStatusException
Method Summary | |
---|---|
void |
check(UserDetails toCheck)
Examines the User |
Method Detail |
---|
void check(UserDetails toCheck)
toCheck
- the UserDetails instance whose status should be checked.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |