org.springframework.ws.soap.security.support
Class SpringSecurityUtils
java.lang.Object
org.springframework.ws.soap.security.support.SpringSecurityUtils
public abstract class SpringSecurityUtils
- extends Object
Generic utility methods for Spring Security
- Since:
- 1.5.8
- Author:
- Tareq Abedrabbo
Method Summary |
static void |
checkUserValidity(org.springframework.security.core.userdetails.UserDetails user)
Checks the validity of a user's account and credentials. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringSecurityUtils
public SpringSecurityUtils()
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 expired
org.springframework.security.authentication.CredentialsExpiredException
- if the credentials have expired
org.springframework.security.authentication.DisabledException
- if the account is disabled
org.springframework.security.authentication.LockedException
- if the account is locked
Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.