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
  • 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 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