How to use different credentialMatcher in one application? (with Shiro Plugin)

View: New views
1 Messages — Rating Filter:   Alert me  

How to use different credentialMatcher in one application? (with Shiro Plugin)

by Hubert Chang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In my application, spring/resource.groovy,
beans {
        credentialMatcher(Sha512CredentialsMatcher) {
  storedCredentialsHexEncoded = true
  }
}

It is default matcher for my dbrealm.

But it is different for my LdapRealm.
How can I use different matcher in LdapRealm?

    btw, now shiro quick-start script generate wild-permission for us, I think create-dbrealm script need removed or modified. Also, quick-start support package is good.