<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<form method="post" action="/admin/j_spring_security_check">
<div>账号:</div>
<input name="j_username">
</div>
<div>
<div>密码:</div>
<input name="j_password" type="password">
</div>
<div>
<input type="submit"></input>
</div>
</form>
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
最近看了spring security 4的开发文档,登录权限拦截封装的相当好!!! 附件为简单的多点登录demo,给开发前后台的朋友们做参考,其中authentication-provider为框架自带的user-service,后续会在整个自定义user-service和AccessDecisionManager、SecurityMetadataSource的demo。 demo放在web服务器根目录(不带项目名)。 后台登录路径为http://localhost:8080/loginAdmin.html 后台登录后首页为http://localhost:8080/admin/home.html 账号密码为 admin:123456 前台登录路劲为http://localhost:8080/loginUser.html 后台登录后首页为http://localhost:8080/user/home.html 账号密码为 user:123456 希望对大家有帮助。
资源推荐
资源详情
资源评论
收起资源包目录
spring_security.rar (60个子文件)
spring_security
src
.classpath 722B
.settings
org.eclipse.wst.jsdt.ui.superType.container 49B
org.eclipse.wst.common.project.facet.core.xml 331B
org.eclipse.wst.jsdt.ui.superType.name 6B
org.eclipse.wst.common.component 574B
.jsdtscope 503B
org.eclipse.jdt.core.prefs 364B
WebContent
accessDenied.html 270B
loginAdmin.html 522B
admin
home.html 267B
loginFailure.html 270B
user
home.html 266B
loginUser.html 521B
index.html 263B
WEB-INF
classes
com
xg
model
User.class 5KB
framework
security
api
ApiAccessDecisionManager.class 3KB
ApiSecurityPasswordEncoder.class 1KB
ApiUserDetailsService.class 2KB
ApiSecurityMetadataSource.class 3KB
ApiFilterSecurityInterceptor.class 3KB
SaltedUser.class 2KB
admin
AdminSecurityPasswordEncoder.class 1KB
AdminUserDetailsService.class 2KB
AdminAccessDecisionManager.class 3KB
AdminFilterSecurityInterceptor.class 3KB
AdminSecurityMetadataSource.class 3KB
usernamepassword
LoginFilter.class 2KB
LoginFailureHandler.class 1KB
LoginSuccessHandler.class 1KB
util
EncryptUtil.class 4KB
applicationContext.xml 1KB
applicationContext-security.xml 2KB
spring-servlet.xml 2KB
log4j.xml 2KB
lib
spring-web-4.1.6.RELEASE.jar 702KB
spring-security-web-4.0.3.RELEASE.jar 319KB
spring-context-support-4.1.6.RELEASE.jar 174KB
fastjson-1.2.6.jar 411KB
spring-security-core-4.0.3.RELEASE.jar 349KB
spring-security-config-4.0.3.RELEASE.jar 462KB
spring-jdbc-4.1.6.RELEASE.jar 417KB
spring-orm-4.1.6.RELEASE.jar 367KB
commons-logging-1.2.jar 60KB
spring-core-4.1.6.RELEASE.jar 984KB
spring-beans-4.1.6.RELEASE.jar 692KB
spring-aop-4.1.6.RELEASE.jar 351KB
spring-aspects-4.1.6.RELEASE.jar 55KB
spring-mock-2.0.8.jar 102KB
log4j-1.2.17.jar 478KB
spring-webmvc-4.1.6.RELEASE.jar 762KB
spring-test-4.1.6.RELEASE.jar 491KB
spring-context-4.1.6.RELEASE.jar 1002KB
spring-expression-4.1.6.RELEASE.jar 253KB
spring-tx-4.1.6.RELEASE.jar 247KB
web.xml 2KB
.project 1KB
config
applicationContext.xml 1KB
applicationContext-security.xml 2KB
spring-servlet.xml 2KB
log4j.xml 2KB
共 60 条
- 1
linhsong22
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页