摘要:
静态下拉列表 修改 type_template.html 引入JS <!-- slect2插件--> <link rel="stylesheet" href="../plugins/select2/select2.css" /> <link rel="stylesheet" href="../plu 阅读全文
posted @ 2019-11-14 16:42
王炬
阅读(1117)
评论(0)
推荐(0)
摘要:
用户名的显示 从后台Controller中获取用户名 从SecurityContextHolder中取出用户名(或密码),放到map集合中,返回map集合 SecurityContextHolder.getContext().getAuthentication().getName(); @Contr 阅读全文
posted @ 2019-11-14 16:24
王炬
阅读(206)
评论(0)
推荐(0)
摘要:
1:在pom.xml中添加依赖 <!-- 身份验证 --> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-web</artifactId> <version>4.1.0 阅读全文
posted @ 2019-11-14 14:33
王炬
阅读(823)
评论(0)
推荐(0)
摘要:
1:Spring Security简介 Spring Security是一个能够为基于Spring的企业应用系统提供声明式的安全访问控制解决方案的安全框架。它提供了一组可以在Spring应用上下文中配置的Bean,充分利用了Spring IoC,DI(控制反转Inversion of Control 阅读全文
posted @ 2019-11-14 10:44
王炬
阅读(516)
评论(0)
推荐(0)

浙公网安备 33010602011771号