Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-169

Formalize the contract of PasswordPolicyResponse by stating that -1 is returned if no value is set.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0-M21
    • Labels:
      None

      Description

      The rfc makes timeBeforeExpiration, and graceAuthNsRemaining optional, but the PasswordPolicyResponse has them as primitives (no null). The best value for unspecified is -1 and that is what the impl is currently returning, but it would be good to make that explicit in the javadoc (to avoid having to check for any value < 0).

        Attachments

          Activity

            People

            • Assignee:
              elecharny Emmanuel Lecharny
              Reporter:
              ltheisen@mitre.org lucas theisen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: