Package com.jeecms.common.security

Examples of com.jeecms.common.security.LockedException


*          ltaylor $
*/
public class AccountStatusUserDetailsChecker implements UserDetailsChecker {
  public void check(UserDetails user) throws AccountStatusException {
    if (!user.isAccountNonLocked()) {
      throw new LockedException();
    }

    if (!user.isEnabled()) {
      throw new DisabledException("User is disabled", user);
    }
View Full Code Here

TOP

Related Classes of com.jeecms.common.security.LockedException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.