分享一些收集到的好用工具、学习网站、社区等。
大约 3 分钟
在RuoYi-Vue前端项目基础上面增加一些基础配置
通过使用ESLint 检查代码,并做修复。
推荐使用antfu-eslint-config作为默认配置,在此基础上面根据自己的需要进行调整。使用方式如下:
针对spring3.x以xml方式集成security
配置文件
<sec:http access-decision-manager-ref="accessDecisionManager" auto-config="true" entry-point-ref="authenticationEntryPoint">
<sec:logout />
<sec:anonymous granted-authority="A_ANONYMOUS" />
<sec:custom-filter ref="authenticationFilter" before="FORM_LOGIN_FILTER"/>
<sec:custom-filter ref="filterSecurityInterceptor" before="FILTER_SECURITY_INTERCEPTOR"/>
<sec:custom-filter ref="switchRoleProcessingFilter" before="SWITCH_USER_FILTER"/>
<sec:form-login login-processing-url="/j_spring_security_login"/>
</sec:http>