Uploaded image for project: 'CAS Server'
  1. CAS-1197

LPPE breaking on the (ldap) domaint that don't have password policy

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.0, 3.5.1
    • Fix Version/s: 4.0 RC1, 4.0
    • Component/s: None
    • Labels:
      None

      Description

      NullPointerExceptions for users that are in a different subdomain that don't have password policy set up

      ava.lang.NullPointerException
      at org.joda.time.format.DateTimeFormatterBuilder$NumberFormatter.parseInto(DateTimeFormatterBuilder.java:1
      292)
      at org.joda.time.format.DateTimeFormatterBuilder$Composite.parseInto(DateTimeFormatterBuilder.java:2695)
      at org.joda.time.format.DateTimeFormatter.parseDateTime(DateTimeFormatter.java:846)
      at org.joda.time.DateTime.parse(DateTime.java:144)
      at org.jasig.cas.adaptors.ldap.LdapPasswordPolicyEnforcer.formatDateByPattern(LdapPasswordPolicyEnforcer.j
      ava:394)
      at org.jasig.cas.adaptors.ldap.LdapPasswordPolicyEnforcer.getExpirationDateToUse(LdapPasswordPolicyEnforce
      r.java:408)
      at org.jasig.cas.adaptors.ldap.LdapPasswordPolicyEnforcer.getNumberOfDaysToPasswordExpirationDate(LdapPass
      wordPolicyEnforcer.java:225)

        Attachments

          Activity

            People

            • Assignee:
              mmoayyed Misagh Moayyed
              Reporter:
              donyaribowo bramantyo aribowo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: