Spring Web Services Framework

org.springframework.ws.soap.security.support
Class SpringSecurityUtils

java.lang.Object
  extended by 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

Constructor Summary
SpringSecurityUtils()
           
 
Method Summary
static void checkUserValidity(org.springframework.security.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
 

Constructor Detail

SpringSecurityUtils

public SpringSecurityUtils()
Method Detail

checkUserValidity

public static void checkUserValidity(org.springframework.security.userdetails.UserDetails user)
                              throws org.springframework.security.AccountExpiredException,
                                     org.springframework.security.CredentialsExpiredException,
                                     org.springframework.security.DisabledException,
                                     org.springframework.security.LockedException
Checks the validity of a user's account and credentials.

Parameters:
user - the user to check
Throws:
org.springframework.security.AccountExpiredException - if the account has expired
org.springframework.security.CredentialsExpiredException - if the credentials have expired
org.springframework.security.DisabledException - if the account is disabled
org.springframework.security.LockedException - if the account is locked

Spring Web Services Framework

Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.