Example usage for org.springframework.security.ldap.ppolicy PasswordPolicyErrorStatus ACCOUNT_LOCKED

List of usage examples for org.springframework.security.ldap.ppolicy PasswordPolicyErrorStatus ACCOUNT_LOCKED

Introduction

In this page you can find the example usage for org.springframework.security.ldap.ppolicy PasswordPolicyErrorStatus ACCOUNT_LOCKED.

Prototype

PasswordPolicyErrorStatus ACCOUNT_LOCKED

To view the source code for org.springframework.security.ldap.ppolicy PasswordPolicyErrorStatus ACCOUNT_LOCKED.

Click Source Link

Usage

From source file:org.springframework.security.ldap.ppolicy.PasswordPolicyResponseControl.java

/**
 * Determines whether an account locked error has been returned.
 *
 * @return true if the account is locked.
 *///  w w w .j a va2  s .c om
public boolean isLocked() {
    return this.errorStatus == PasswordPolicyErrorStatus.ACCOUNT_LOCKED;
}