{
PasswordPolicyResponseControl pwPolicyControl =
PasswordPolicyResponseControl.DECODER
.decode(c.isCritical(), ((LDAPControl) c).getValue());
PasswordPolicyWarningType pwPolicyWarningType =
pwPolicyControl.getWarningType();
if (pwPolicyWarningType != null)
{
Message message = INFO_LDAPPWMOD_PWPOLICY_WARNING.get(
pwPolicyWarningType.toString(),
pwPolicyControl.getWarningValue());
out.println(wrapText(message, MAX_LINE_WIDTH));
}
PasswordPolicyErrorType pwPolicyErrorType =