lyfO_o
2023-02-15 1e3c6ccb8764bcc3bc127fc23c51d612a8701224
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"/>