lucas theisen created DIRAPI-169:
------------------------------------
Summary: Formalize the contract of PasswordPolicyResponse by
stating that -1 is returned if no value is set.
Key: DIRAPI-169
URL: https://issues.apache.org/jira/browse/DIRAPI-169
Project: Directory Client API
Issue Type: Improvement
Reporter: lucas theisen
Priority: Trivial
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).
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)