"AbstractUserDetailsAuthenticationProvider.locked", "User account is locked"), user); }
if (!user.isEnabled()) { throw new DisabledException(textResource.getText(
"AbstractUserDetailsAuthenticationProvider.disabled", "User is disabled"), user); }
if (user.isAccountExpired()) { throw new AccountExpiredException(textResource.getText(
"AbstractUserDetailsAuthenticationProvider.expired", "User account has expired"), user); }
if (user.isCredentialsExpired()) { throw new CredentialsExpiredException(textResource.getText(
"AbstractUserDetailsAuthenticationProvider.credentialsExpired",
"User credentials have expired"), user); }