Class SpringSecurityUtils
java.lang.Object
org.springframework.ws.soap.security.support.SpringSecurityUtils
Generic utility methods for Spring Security
- Since:
- 1.5.8
- Author:
- Tareq Abedrabbo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkUserValidity
(org.springframework.security.core.userdetails.UserDetails user) Checks the validity of a user's account and credentials.
-
Constructor Details
-
SpringSecurityUtils
public SpringSecurityUtils()
-
-
Method Details
-
checkUserValidity
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 Checks the validity of a user's account and credentials.- Parameters:
user
- the user to check- Throws:
org.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 locked
-