[
https://issues.apache.org/jira/browse/DIRSERVER-1948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866952#comment-13866952
]
lucas theisen commented on DIRSERVER-1948:
------------------------------------------
Per discussion on IRC, to determine time until password expiration:
[14:26] <kayyagari> use modify time if pwd last change time is not present
[14:26] <kayyagari> and create time if modify time is not present
> NPE in AuthenticationInterceptor when password policy is in place and user
> does not have a pwdChangedTime
> ---------------------------------------------------------------------------------------------------------
>
> Key: DIRSERVER-1948
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1948
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.0-M16
> Reporter: lucas theisen
> Priority: Critical
>
> The getPwdTimeBeforeExpiry method calls getString() on the pwdChangedTimeAt
> without checking for null first.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)