Package org.springframework.security.authentication

Examples of org.springframework.security.authentication.DisabledException


        if (userGroupServiceName!=null) {
            try {
                GeoServerUserGroupService service = getSecurityManager().loadUserGroupService(userGroupServiceName);
                details = service.loadUserByUsername(user);               
                if (details.isEnabled()==false) {
                    log (new DisabledException("User "+user+" is disabled"));
                    return null;
                }
            } catch (IOException ex ) {
                log(new AuthenticationServiceException(ex.getLocalizedMessage(),ex));
                return null;
View Full Code Here


    }

    if (!user.isEnabled()) {
      log.debug("User account is disabled");

      throw new DisabledException(messages.getMessage("AbstractUserDetailsAuthenticationProvider.disabled",
        "User is disabled"));
    }

    if (!user.isAccountNonExpired()) {
      log.debug("User account is expired");
View Full Code Here

TOP

Related Classes of org.springframework.security.authentication.DisabledException

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.