public abstract class SpringSecurityUtils extends Object
Constructor and Description |
---|
SpringSecurityUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
checkUserValidity(org.springframework.security.core.userdetails.UserDetails user)
Checks the validity of a user's account and credentials.
|
public static void checkUserValidity(org.springframework.security.core.userdetails.UserDetails user) throws org.springframework.security.authentication.AccountExpiredException, org.springframework.security.authentication.CredentialsExpiredException, org.springframework.security.authentication.DisabledException, org.springframework.security.authentication.LockedException
user
- the user to checkorg.springframework.security.authentication.AccountExpiredException
- if the account has expiredorg.springframework.security.authentication.CredentialsExpiredException
- if the credentials have expiredorg.springframework.security.authentication.DisabledException
- if the account is disabledorg.springframework.security.authentication.LockedException
- if the account is lockedCopyright © 2020 Pivotal Software. All rights reserved.