| | |
| | | public static PasswordExpiringControl decodeControl(Control control) |
| | | throws LDAPException |
| | | { |
| | | |
| | | if (! control.hasValue()) |
| | | { |
| | | int msgID = MSGID_PWEXPIRING_NO_CONTROL_VALUE; |
| | |
| | | */ |
| | | public int getSecondsUntilExpiration() |
| | | { |
| | | |
| | | return secondsUntilExpiration; |
| | | } |
| | | |
| | |
| | | */ |
| | | public String toString() |
| | | { |
| | | |
| | | StringBuilder buffer = new StringBuilder(); |
| | | toString(buffer); |
| | | return buffer.toString(); |
| | |
| | | */ |
| | | public void toString(StringBuilder buffer) |
| | | { |
| | | |
| | | buffer.append("PasswordExpiringControl(secondsUntilExpiration="); |
| | | buffer.append(secondsUntilExpiration); |
| | | buffer.append(")"); |