lyfO_o
2021-12-13 7d4f221ad350447684beb2bced054d659c5592a1
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"/>