You can use the org.apache.shiro.authc.credential.HashedCredentialsMatcher.
 You can specify the algorithm name as a property:

hashedCredentialsMatcher.hashAlgorithmName = SHA-512

I hope that helps!

Cheers,

-- 
Les Hazlewood
CTO, Katasoft | http://www.katasoft.com | 888.391.5282
twitter: @lhazlewood | http://twitter.com/lhazlewood
katasoft blog: http://www.katasoft.com/blogs/lhazlewood
personal blog: http://leshazlewood.com

2011/12/11 yinhongzhan <[email protected]>

> **
> Hello I am from china .
> My name is yinhongzhan.
> Here is a question.
> Sha256CredentialsMatcher  is deprecation.  Through what to replace ? I
> can't find in documents.
>
> Thanks
>
>
> ------------------------------
>  *浙江核新同花顺网络信息股份有限公司 B2B 殷鸿展 *
> *邮 箱:[email protected] <[email protected]> *
> *电 话: 0571-88911818-8587*
> **
> *地址: 杭州西湖区翠柏路7号 杭州电子商务产业园2号楼-2楼*
>

Reply via email to