[ 
https://issues.apache.org/jira/browse/DIRAPI-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

lucas theisen resolved DIRAPI-169.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0-M21

Revision 1561204

> 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
>             Fix For: 1.0.0-M21
>
>
> 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.5#6160)

Reply via email to