Tynamo 0.4.0 security: How to create custom credential matcher.

2011-06-14 Thread cablepuff
Hi I have the following credential matcher from shiro.ini. Since the support for its remove, how would I convert the following. [main] credentialsMatcher=org.apache.shiro.authc.credential.HashedCredentialsMatcher credentialsMatcher.storedCredentialsHexEncoded=false

Re: Tynamo 0.4.0 security: How to create custom credential matcher.

2011-06-14 Thread Kalle Korhonen
public static void contributeWebSecurityManager(ConfigurationRealm configuration, @InjectService(JdbcSaltedRealm) AuthorizingRealm jdbcSaltedRealm) { CredentialsMatcher credentialsMatcher = new HashedCredentialsMatcher(); // configure matcher as you prefer...