| | |
| | | else if (pwPolicyState.shouldWarn()) |
| | | { |
| | | int numSeconds = pwPolicyState.getSecondsUntilExpiration(); |
| | | Message timeToExpiration = secondsToTimeString(numSeconds); |
| | | |
| | | Message message = INFO_BIND_PASSWORD_EXPIRING.get( |
| | | timeToExpiration); |
| | | localOp.appendErrorMessage(message); |
| | | |
| | | if (pwPolicyWarningType == null) |
| | | { |
| | |
| | | int numSeconds = pwPolicyState.getSecondsUntilExpiration(); |
| | | Message timeToExpiration = secondsToTimeString(numSeconds); |
| | | |
| | | Message message = INFO_BIND_PASSWORD_EXPIRING.get( |
| | | Message message = WARN_BIND_PASSWORD_EXPIRING.get( |
| | | timeToExpiration); |
| | | |
| | | pwPolicyState.generateAccountStatusNotification( |
| | |
| | | else if (pwPolicyState.shouldWarn()) |
| | | { |
| | | int numSeconds = pwPolicyState.getSecondsUntilExpiration(); |
| | | Message timeToExpiration = secondsToTimeString(numSeconds); |
| | | |
| | | Message message = INFO_BIND_PASSWORD_EXPIRING.get( |
| | | timeToExpiration); |
| | | localOp.appendErrorMessage(message); |
| | | |
| | | if (pwPolicyWarningType == null) |
| | | { |
| | |
| | | int numSeconds = pwPolicyState.getSecondsUntilExpiration(); |
| | | Message timeToExpiration = secondsToTimeString(numSeconds); |
| | | |
| | | Message message = INFO_BIND_PASSWORD_EXPIRING.get( |
| | | Message message = WARN_BIND_PASSWORD_EXPIRING.get( |
| | | timeToExpiration); |
| | | |
| | | pwPolicyState.generateAccountStatusNotification( |