| | |
| | | * setPasswordChangedByRequiredTime (36), |
| | | * clearPasswordChangedByRequiredTime (37), |
| | | * getSecondsUntilRequiredChangeTime (38), |
| | | * getPasswordHistory (39), |
| | | * clearPasswordHistory (40), |
| | | * ... }, |
| | | * opValues SEQUENCE OF OCTET STRING OPTIONAL } |
| | | * </PRE> |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * The enumerated value for the getPasswordHistory operation. |
| | | */ |
| | | public static final int OP_GET_PASSWORD_HISTORY = 39; |
| | | |
| | | |
| | | |
| | | /** |
| | | * The enumerated value for the clearPasswordHistory operation. |
| | | */ |
| | | public static final int OP_CLEAR_PASSWORD_HISTORY = 40; |
| | | |
| | | |
| | | |
| | | // The set of attributes to request when retrieving a user's entry. |
| | | private LinkedHashSet<String> requestAttributes; |
| | | |
| | |
| | | returnTypes.add(OP_GET_SECONDS_UNTIL_REQUIRED_CHANGE_TIME); |
| | | break; |
| | | |
| | | case OP_GET_PASSWORD_HISTORY: |
| | | returnTypes.add(OP_GET_PASSWORD_HISTORY); |
| | | break; |
| | | |
| | | case OP_CLEAR_PASSWORD_HISTORY: |
| | | pwpState.clearPasswordHistory(); |
| | | returnTypes.add(OP_GET_PASSWORD_HISTORY); |
| | | break; |
| | | |
| | | default: |
| | | int msgID = MSGID_PWPSTATE_EXTOP_UNKNOWN_OP_TYPE; |
| | | operation.appendErrorMessage(getMessage(msgID, opType)); |
| | |
| | | secondsStr)); |
| | | } |
| | | |
| | | if (returnAll || returnTypes.contains(OP_GET_PASSWORD_HISTORY)) |
| | | { |
| | | opElements.add(encode(OP_GET_PASSWORD_HISTORY, |
| | | pwpState.getPasswordHistoryValues())); |
| | | } |
| | | |
| | | ArrayList<ASN1Element> responseValueElements = |
| | | new ArrayList<ASN1Element>(2); |
| | | responseValueElements.add(dnString); |