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

Support overrding the credentialsMatcher for the implicit IniRealm

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • Configuration, Realms
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment