Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19024

DefaultAuthenticationFailureManager#getMaxTime will fail for time window bigger than 25 days

    XMLWordPrintable

Details

    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      The result of https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-13.8/xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-default/src/main/java/org/xwiki/security/authentication/internal/DefaultAuthenticationFailureManager.java#L344 is actually an int which it then converted to long.

      I don't remember exactly how Java react to this exactly, I think it does not crash but produce a number that does not have anything to do with the expected one.

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: