Slide 15
Slide 15 text
15
Johannes Schmitt | Security and AOP | 2012-11-23
The authentication providers not only check the credentials, but also check several
flags on the user account itself
AdvancedAccountInterface
- isEnabled():
Whether the account is enabled, or disabled.
- isAccountNonLocked():
Whether the account has been locked, for example because of too many
failed login attempts.
- isAccountNonExpired():
Whether the account is expired.
- isCredentialsNonExpired():
Whether the account’s credentials are expired.
If any of the above methods returns false, the user will not be allowed to login