[ 
https://issues.apache.org/jira/browse/SHIRO-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800910#action_12800910
 ] 

Les Hazlewood commented on SHIRO-125:
-------------------------------------

That wouldn't really apply in the [main] section.  In practice, [main] is 
really just a map of objects, keyed by name. 

The documentation has been updated to reflect his configuration mechansim, with 
the implicit IniRealm, here:

http://cwiki.apache.org/confluence/display/SHIRO/Configuration

You can see how the lines are formatted, and how each line corresponds to 
interacting with an object in that map.

Cheers,

Les

> Support overrding the credentialsMatcher for the implicit IniRealm
> ------------------------------------------------------------------
>
>                 Key: SHIRO-125
>                 URL: https://issues.apache.org/jira/browse/SHIRO-125
>             Project: Shiro
>          Issue Type: Improvement
>          Components: Configuration, Realms 
>            Reporter: Philippe Laflamme
>             Fix For: 1.0
>
>
> 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]
> # The [users] section will contain SHA256 hashed passwords
> credentialsMatcher=org.apache.shiro.authc.credential.Sha256CredentialsMatcher
> [users]
> # Hex value of SHA256 hashed password
> aUser=28eeeb5e16f38c67dfcc73733ee3649f9b0adcc2a6cfc957d40814348459ee7c
> ---

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to