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.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.0.0-M21
    • 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

            elecharny Emmanuel L├ęcharny
            ltheisen@mitre.org lucas theisen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: