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

Add support for customization of the login module password hash mechanism

    XMLWordPrintable

Details

    Description

      A generic extension to add a DigestCallback extension interface like the following should be made to the jboss login modules:

      public interface DigestCallback
      {
      /** Pass through access to the login module options */
      public void init(java.util.Map options);
      /** Pre-hash callout to allow for content before the password */
      public void preDigest(java.security.MessageDigest digest);
      /** Post-hash callout afer the password has been added to allow for content after the password */
      public void postDigest(java.security.MessageDigest digest);
      }

      options: the option maps passed to the login module with any unknown options that affect the DigestCallback simply passed through
      digest: the standard MessageDigest created based on the digest algorithm specified via the login module options.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified