文件名称:java_OA_system
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 208kb
- 下载次数:
- 0次
- 提 供 者:
- 金*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
权限管理的实现:
1、登录之后,根据当前登录人员的权限,列出其拥有权限的所有模块(参考IndexAction.java/back_index.jsp)
2、只有登录之后,才可以访问后台模块(抽象出BaseAction来做统一的登录认证)
- 覆盖execute方法,在这个方法里做登录认证
3、实现即时认证(即只有拥有相应的权限,才能做相应的操作)
- 定义JSTL函数(参考SecurityFunctions.java)
- 在JSP页面上,调用JSTL函数做即时认证,只有通过认证之后,才显示相应的功能按钮
-The realization of the rights management:
1 and after login, according to the current logon personnel permissions, its have permissions list all module (reference IndexAction. Java/back_index. JSP)
2, only after login, just can access backstage module (abstract BaseAction out to make a unified login the authentication)
-covers execute method, in this method in do login the authentication
3 and realize the instant the authentication (that is, only have the corresponding privileges, can do the corresponding operation)
-a definition JSTL function (reference SecurityFunctions. Java)
-in the JSP page, call JSTL function do instant the authentication, only through the authentication of later, just show the corresponding function button
1、登录之后,根据当前登录人员的权限,列出其拥有权限的所有模块(参考IndexAction.java/back_index.jsp)
2、只有登录之后,才可以访问后台模块(抽象出BaseAction来做统一的登录认证)
- 覆盖execute方法,在这个方法里做登录认证
3、实现即时认证(即只有拥有相应的权限,才能做相应的操作)
- 定义JSTL函数(参考SecurityFunctions.java)
- 在JSP页面上,调用JSTL函数做即时认证,只有通过认证之后,才显示相应的功能按钮
-The realization of the rights management:
1 and after login, according to the current logon personnel permissions, its have permissions list all module (reference IndexAction. Java/back_index. JSP)
2, only after login, just can access backstage module (abstract BaseAction out to make a unified login the authentication)
-covers execute method, in this method in do login the authentication
3 and realize the instant the authentication (that is, only have the corresponding privileges, can do the corresponding operation)
-a definition JSTL function (reference SecurityFunctions. Java)
-in the JSP page, call JSTL function do instant the authentication, only through the authentication of later, just show the corresponding function button
(系统自动生成,下载前可以参看下载内容)
下载文件列表
oa_06\.classpath
.....\.mymetadata
.....\.myumldata
.....\.project
.....\.settings\com.genuitec.eclipse.j2eedt.core.prefs
.....\.........\org.eclipse.core.resources.prefs
.....\build.xml
.....\readme.txt
.....\src\applicationContext-actions.xml
.....\...\applicationContext-beans.xml
.....\...\applicationContext-common.xml
.....\...\com\bjsxt\oa\dwr\DWRTest.java
.....\...\...\.....\..\managers\AclManager.java
.....\...\...\.....\..\........\impl\AbstractManager.java
.....\...\...\.....\..\........\....\AclManagerImpl.java
.....\...\...\.....\..\........\....\InitSystemDatasImpl.java
.....\...\...\.....\..\........\....\ModuleManagerImpl.java
.....\...\...\.....\..\........\....\OrgManagerImpl.java
.....\...\...\.....\..\........\....\PersonManagerImpl.java
.....\...\...\.....\..\........\....\RoleManagerImpl.java
.....\...\...\.....\..\........\....\UserManagerImpl.java
.....\...\...\.....\..\........\InitSystemDatas.java
.....\...\...\.....\..\........\ModuleManager.java
.....\...\...\.....\..\........\OrgManager.java
.....\...\...\.....\..\........\PersonManager.java
.....\...\...\.....\..\........\RoleManager.java
.....\...\...\.....\..\........\SystemException.java
.....\...\...\.....\..\........\UserManager.java
.....\...\...\.....\..\.odel\ACL.hbm.xml
.....\...\...\.....\..\.....\ACL.java
.....\...\...\.....\..\.....\Module.hbm.xml
.....\...\...\.....\..\.....\Module.java
.....\...\...\.....\..\.....\Organization.hbm.xml
.....\...\...\.....\..\.....\Organization.java
.....\...\...\.....\..\.....\Permission.java
.....\...\...\.....\..\.....\Person.hbm.xml
.....\...\...\.....\..\.....\Person.java
.....\...\...\.....\..\.....\Role.hbm.xml
.....\...\...\.....\..\.....\Role.java
.....\...\...\.....\..\.....\User.hbm.xml
.....\...\...\.....\..\.....\User.java
.....\...\...\.....\..\.....\UsersRoles.hbm.xml
.....\...\...\.....\..\.....\UsersRoles.java
.....\...\...\.....\..\PagerModel.java
.....\...\...\.....\..\SystemContext.java
.....\...\...\.....\..\web\actions\AclAction.java
.....\...\...\.....\..\...\.......\BaseAction.java
.....\...\...\.....\..\...\.......\IndexAction.java
.....\...\...\.....\..\...\.......\LoginAction.java
.....\...\...\.....\..\...\.......\ModuleAction.java
.....\...\...\.....\..\...\.......\OrgAction.java
.....\...\...\.....\..\...\.......\PersonAction.java
.....\...\...\.....\..\...\.......\RoleAction.java
.....\...\...\.....\..\...\.......\UserAction.java
.....\...\...\.....\..\...\forms\AclActionForm.java
.....\...\...\.....\..\...\.....\ModuleActionForm.java
.....\...\...\.....\..\...\.....\OrgActionForm.java
.....\...\...\.....\..\...\.....\PersonActionForm.java
.....\...\...\.....\..\...\.....\RoleActionForm.java
.....\...\...\.....\..\...\.....\UserActionForm.java
.....\...\...\.....\..\...\PagerFilter.java
.....\...\...\.....\..\...\SecurityFunctions.java
.....\...\...\.....\..\...\SystemExceptionHandler.java
.....\...\...\.....\..\...\UtilDateConverter.java
.....\...\...\.....\..\...\UtilDateConverterInitServlet.java
.....\...\hibernate.cfg.xml
.....\...\init_datas.xml
.....\...\log4j.properties
.....\...\MessageResources.properties
.....\test\com\bjsxt\oa\managers\InitSystemDatasTest.java
.....\....\...\.....\..\........\OrgManagerTest.java
.....\....\...\.....\..\.odel\HibernateUtils.java
.....\....\...\.....\..\.....\OrgTest.java
.....\....\...\.....\..\.....\OrgTest2.java
.....\....\...\.....\..\.....\OrgTest3.java
.....\....\...\.....\..\.....\OrgTest4.java
.....\....\...\.....\..\.....\OrgTest5.java
.....\WebRoot\acl\index.jsp
.....\.......\arrowdown.gif
.....\.......\arrowup.gif
.....\.......\back_index.jsp
.....\.......\common\common.jsp
.....\.......\......\exception.jsp
.....\.......\......\pub_add_success.jsp
.....\.......\......\pub_del_success.jsp
.....\.......\......\pub_update_success.jsp
.....\.......\crossbrowser.js
.....\.......\images\addpic.gif
.....\.......\......\cz.gif
.....\.......\......\dela.gif
.....\.......\......\file1.gif
.....\.......\......\list_middle.jpg
.....\.......\......\.ogin\logo.gif
.....\.......\......\.....\logo_bg.gif
.....\.......\......\....
.....\.mymetadata
.....\.myumldata
.....\.project
.....\.settings\com.genuitec.eclipse.j2eedt.core.prefs
.....\.........\org.eclipse.core.resources.prefs
.....\build.xml
.....\readme.txt
.....\src\applicationContext-actions.xml
.....\...\applicationContext-beans.xml
.....\...\applicationContext-common.xml
.....\...\com\bjsxt\oa\dwr\DWRTest.java
.....\...\...\.....\..\managers\AclManager.java
.....\...\...\.....\..\........\impl\AbstractManager.java
.....\...\...\.....\..\........\....\AclManagerImpl.java
.....\...\...\.....\..\........\....\InitSystemDatasImpl.java
.....\...\...\.....\..\........\....\ModuleManagerImpl.java
.....\...\...\.....\..\........\....\OrgManagerImpl.java
.....\...\...\.....\..\........\....\PersonManagerImpl.java
.....\...\...\.....\..\........\....\RoleManagerImpl.java
.....\...\...\.....\..\........\....\UserManagerImpl.java
.....\...\...\.....\..\........\InitSystemDatas.java
.....\...\...\.....\..\........\ModuleManager.java
.....\...\...\.....\..\........\OrgManager.java
.....\...\...\.....\..\........\PersonManager.java
.....\...\...\.....\..\........\RoleManager.java
.....\...\...\.....\..\........\SystemException.java
.....\...\...\.....\..\........\UserManager.java
.....\...\...\.....\..\.odel\ACL.hbm.xml
.....\...\...\.....\..\.....\ACL.java
.....\...\...\.....\..\.....\Module.hbm.xml
.....\...\...\.....\..\.....\Module.java
.....\...\...\.....\..\.....\Organization.hbm.xml
.....\...\...\.....\..\.....\Organization.java
.....\...\...\.....\..\.....\Permission.java
.....\...\...\.....\..\.....\Person.hbm.xml
.....\...\...\.....\..\.....\Person.java
.....\...\...\.....\..\.....\Role.hbm.xml
.....\...\...\.....\..\.....\Role.java
.....\...\...\.....\..\.....\User.hbm.xml
.....\...\...\.....\..\.....\User.java
.....\...\...\.....\..\.....\UsersRoles.hbm.xml
.....\...\...\.....\..\.....\UsersRoles.java
.....\...\...\.....\..\PagerModel.java
.....\...\...\.....\..\SystemContext.java
.....\...\...\.....\..\web\actions\AclAction.java
.....\...\...\.....\..\...\.......\BaseAction.java
.....\...\...\.....\..\...\.......\IndexAction.java
.....\...\...\.....\..\...\.......\LoginAction.java
.....\...\...\.....\..\...\.......\ModuleAction.java
.....\...\...\.....\..\...\.......\OrgAction.java
.....\...\...\.....\..\...\.......\PersonAction.java
.....\...\...\.....\..\...\.......\RoleAction.java
.....\...\...\.....\..\...\.......\UserAction.java
.....\...\...\.....\..\...\forms\AclActionForm.java
.....\...\...\.....\..\...\.....\ModuleActionForm.java
.....\...\...\.....\..\...\.....\OrgActionForm.java
.....\...\...\.....\..\...\.....\PersonActionForm.java
.....\...\...\.....\..\...\.....\RoleActionForm.java
.....\...\...\.....\..\...\.....\UserActionForm.java
.....\...\...\.....\..\...\PagerFilter.java
.....\...\...\.....\..\...\SecurityFunctions.java
.....\...\...\.....\..\...\SystemExceptionHandler.java
.....\...\...\.....\..\...\UtilDateConverter.java
.....\...\...\.....\..\...\UtilDateConverterInitServlet.java
.....\...\hibernate.cfg.xml
.....\...\init_datas.xml
.....\...\log4j.properties
.....\...\MessageResources.properties
.....\test\com\bjsxt\oa\managers\InitSystemDatasTest.java
.....\....\...\.....\..\........\OrgManagerTest.java
.....\....\...\.....\..\.odel\HibernateUtils.java
.....\....\...\.....\..\.....\OrgTest.java
.....\....\...\.....\..\.....\OrgTest2.java
.....\....\...\.....\..\.....\OrgTest3.java
.....\....\...\.....\..\.....\OrgTest4.java
.....\....\...\.....\..\.....\OrgTest5.java
.....\WebRoot\acl\index.jsp
.....\.......\arrowdown.gif
.....\.......\arrowup.gif
.....\.......\back_index.jsp
.....\.......\common\common.jsp
.....\.......\......\exception.jsp
.....\.......\......\pub_add_success.jsp
.....\.......\......\pub_del_success.jsp
.....\.......\......\pub_update_success.jsp
.....\.......\crossbrowser.js
.....\.......\images\addpic.gif
.....\.......\......\cz.gif
.....\.......\......\dela.gif
.....\.......\......\file1.gif
.....\.......\......\list_middle.jpg
.....\.......\......\.ogin\logo.gif
.....\.......\......\.....\logo_bg.gif
.....\.......\......\....