Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-125

Support overrding the credentialsMatcher for the implicit IniRealm

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: Configuration, Realms
    • Labels:
      None

      Description

      When using the implicit IniRealm, it would be useful to override the credentialsMatcher to support, non-plaintext passwords in the [users] section.

      Example shiro.ini:

      [main]

      1. The [users] section will contain SHA256 hashed passwords
        credentialsMatcher=org.apache.shiro.authc.credential.Sha256CredentialsMatcher

      [users]

      1. Hex value of SHA256 hashed password
        aUser=28eeeb5e16f38c67dfcc73733ee3649f9b0adcc2a6cfc957d40814348459ee7c

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              plaflamme Philippe Laflamme
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: