springAop+自定义注解实现权限管理

上传者: u010271462 | 上传时间: 2022-06-05 10:34:50 | 文件大小: 7.95MB | 文件类型: ZIP
一个简单的采用自定义注解结合SpringAop实现方法执行的权限管理,这个demo中并没有涉及到与数据库的交互和业务代码,用户权限在登陆时采用简单的手动初始化。该demo用的jdk1.7编译,Spring4.0版本,只想通过这个demo熟悉相关技术,如有不足之处还望各位大佬多多包涵并指出。

文件下载

资源详情

[{"title":"( 67 个子文件 7.95MB ) springAop+自定义注解实现权限管理","children":[{"title":"springAop_Privilege","children":[{"title":".project <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":".jsdtscope <span style='color:#111;'> 503B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 509B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'> 305B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"applicationcontext.xml <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"com","children":[{"title":"renss","children":[{"title":"spring","children":[{"title":"aop","children":[{"title":"privilege","children":[{"title":"dao","children":[{"title":"impl","children":[{"title":"PersonDaoImpl.java <span style='color:#111;'> 466B </span>","children":null,"spread":false}],"spread":true},{"title":"PersonDao.java <span style='color:#111;'> 130B </span>","children":null,"spread":false}],"spread":true},{"title":"annotation","children":[{"title":"AnnotationParse.java <span style='color:#111;'> 586B </span>","children":null,"spread":false},{"title":"PrivilegeInfo.java <span style='color:#111;'> 345B </span>","children":null,"spread":false}],"spread":true},{"title":"controler","children":[{"title":"PersonControler.java <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"LoginControler.java <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false}],"spread":true},{"title":"domain","children":[{"title":"Privilege.java <span style='color:#111;'> 306B </span>","children":null,"spread":false},{"title":"Person.java <span style='color:#111;'> 601B </span>","children":null,"spread":false}],"spread":true},{"title":"filter","children":[{"title":"LoginFilter.java <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false}],"spread":false},{"title":"aspect","children":[{"title":"AccessTargetMethod.java <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false}],"spread":false},{"title":"service","children":[{"title":"PersonService.java <span style='color:#111;'> 156B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"PersonServiceImpl.java <span style='color:#111;'> 868B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"util","children":[{"title":"ServletUtil.java <span style='color:#111;'> 808B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"build","children":[{"title":"classes","children":[{"title":"applicationcontext.xml <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"com","children":[{"title":"renss","children":[{"title":"spring","children":[{"title":"aop","children":[{"title":"privilege","children":[{"title":"dao","children":[{"title":"impl","children":[{"title":"PersonDaoImpl.class <span style='color:#111;'> 910B </span>","children":null,"spread":false}],"spread":true},{"title":"PersonDao.class <span style='color:#111;'> 184B </span>","children":null,"spread":false}],"spread":true},{"title":"annotation","children":[{"title":"AnnotationParse.class <span style='color:#111;'> 979B </span>","children":null,"spread":false},{"title":"PrivilegeInfo.class <span style='color:#111;'> 453B </span>","children":null,"spread":false}],"spread":true},{"title":"controler","children":[{"title":"PersonControler.class <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"LoginControler.class <span style='color:#111;'> 3.19KB </span>","children":null,"spread":false}],"spread":false},{"title":"domain","children":[{"title":"Privilege.class <span style='color:#111;'> 662B </span>","children":null,"spread":false},{"title":"Person.class <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false}],"spread":false},{"title":"filter","children":[{"title":"LoginFilter.class <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"aspect","children":[{"title":"AccessTargetMethod.class <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"service","children":[{"title":"impl","children":[{"title":"PersonServiceImpl.class <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":false},{"title":"PersonService.class <span style='color:#111;'> 219B </span>","children":null,"spread":false}],"spread":false},{"title":"util","children":[{"title":"ServletUtil.class <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"WebContent","children":[{"title":"login.jsp <span style='color:#111;'> 778B </span>","children":null,"spread":false},{"title":"success.jsp <span style='color:#111;'> 373B </span>","children":null,"spread":false},{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"spring-messaging-4.0.0.RELEASE.jar <span style='color:#111;'> 223.37KB </span>","children":null,"spread":false},{"title":"aspectjweaver-1.8.10.jar <span style='color:#111;'> 1.84MB </span>","children":null,"spread":false},{"title":"spring-websocket-4.0.0.RELEASE.jar <span style='color:#111;'> 245.61KB </span>","children":null,"spread":false},{"title":"spring-webmvc-portlet-4.0.0.RELEASE.jar <span style='color:#111;'> 171.26KB </span>","children":null,"spread":false},{"title":"spring-core-4.0.0.RELEASE.jar <span style='color:#111;'> 932.94KB </span>","children":null,"spread":false},{"title":"spring-aspects-4.0.0.RELEASE.jar <span style='color:#111;'> 50.38KB </span>","children":null,"spread":false},{"title":"spring-beans-4.0.0.RELEASE.jar <span style='color:#111;'> 653.58KB </span>","children":null,"spread":false},{"title":"spring-oxm-4.0.0.RELEASE.jar <span style='color:#111;'> 77.31KB </span>","children":null,"spread":false},{"title":"spring-tx-4.0.0.RELEASE.jar <span style='color:#111;'> 242.19KB </span>","children":null,"spread":false},{"title":"spring-context-support-4.0.0.RELEASE.jar <span style='color:#111;'> 130.98KB </span>","children":null,"spread":false},{"title":"spring-aop-4.0.0.RELEASE.jar <span style='color:#111;'> 343.01KB </span>","children":null,"spread":false},{"title":"commons-logging-1.2.jar <span style='color:#111;'> 60.38KB </span>","children":null,"spread":false},{"title":"spring-instrument-4.0.0.RELEASE.jar <span style='color:#111;'> 7.07KB </span>","children":null,"spread":false},{"title":"spring-test-4.0.0.RELEASE.jar <span style='color:#111;'> 431.26KB </span>","children":null,"spread":false},{"title":"spring-context-4.0.0.RELEASE.jar <span style='color:#111;'> 928.33KB </span>","children":null,"spread":false},{"title":"spring-instrument-tomcat-4.0.0.RELEASE.jar <span style='color:#111;'> 10.21KB </span>","children":null,"spread":false},{"title":"spring-orm-4.0.0.RELEASE.jar <span style='color:#111;'> 309.41KB </span>","children":null,"spread":false},{"title":"spring-jdbc-4.0.0.RELEASE.jar <span style='color:#111;'> 410.03KB </span>","children":null,"spread":false},{"title":"servlet-api.jar <span style='color:#111;'> 193.35KB </span>","children":null,"spread":false},{"title":"spring-web-4.0.0.RELEASE.jar <span style='color:#111;'> 646.06KB </span>","children":null,"spread":false},{"title":"aopalliance-1.0.jar <span style='color:#111;'> 4.36KB </span>","children":null,"spread":false},{"title":"spring-framework-bom-4.0.0.RELEASE.jar <span style='color:#111;'> 6.08KB </span>","children":null,"spread":false},{"title":"spring-expression-4.0.0.RELEASE.jar <span style='color:#111;'> 201.67KB </span>","children":null,"spread":false},{"title":"spring-webmvc-4.0.0.RELEASE.jar <span style='color:#111;'> 645.20KB </span>","children":null,"spread":false},{"title":"spring-jms-4.0.0.RELEASE.jar <span style='color:#111;'> 205.65KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"index.jsp <span style='color:#111;'> 523B </span>","children":null,"spread":false},{"title":"noPrivilege.jsp <span style='color:#111;'> 394B </span>","children":null,"spread":false},{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 39B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 519B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明