李宇
2021-02-25 dd29fcb8eff0fe9d442b98bd47738c79f3db136a
src/main/webapp/WEB-INF/spring-shiro.xml
@@ -117,7 +117,7 @@
    <!-- 密码错误5次锁定5min -->
    <bean id="credentialsMatcher" class="com.nanometer.smartlab.realm.RetryLimitCredentialsMatcher">
        <constructor-arg ref="shiroSpringCacheManager"/>
        <property name="retryLimitCacheName" value="fivMin"/>
        <property name="retryLimitCacheName" value="oneMin"/>
        <!-- 密码加密 1次md5,增强密码可修改此处 -->
        <property name="hashAlgorithmName" value="MD5"/>
        <property name="storedCredentialsHexEncoded" value="true"/>