Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2420

1.21 Change in org.jboss.security.auth.spi.UsernamePasswordLoginModule.java breaks existing code

    XMLWordPrintable

Details

    Description

      the 1.21 change:

      from: protected String createPasswordHash(String username, String password)
      to: protected String createPasswordHash(String username, String password, String digestOption)

      breaks existing code.
      If subclassing overrides the method createPasswordHash ("to provide customized password hashing" as stated in the doc), the subclass method will not be called, because of parameter change.

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            bennybechdk Benny Bech (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: