文件名称:一个权限设计教程
- 所属分类:
- Internet/网络编程
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 13kb
- 下载次数:
- 0次
- 提 供 者:
- 宋**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
这是一个找到一篇关于权限设计的教程,写的很好,但是发现给出的代码,有些地方可能有笔误。贴出来供大家和我一起学习。
-----------------------------------
首先,设置三种要素:用户、群组、角色。
用户为登录用,对应到人。群组对应为用户的集合,是一种特殊的用户。角色为一组权限项的集合,用户(群组)都有各自的角色。
权限的实现通过Permission类和Rule类来实现。 Permission供外部调用,Rule为一个接口,为权限判断规则。
-This is a mandate to find a design of the curriculum and write well, but the code is found, in some places may be misdirected. Put up for us and I study together.----------------------------------- First, the set of three elements : user, group, role. Users login to use corresponds to the people. User groups corresponding to the pool, a special users. A role for the authority, of the group assembled users (groups) have their own role. To achieve competence through Permission Rule category and class to be achieved. Permission for external calls, as a Rule interface for the authority to judge rules.
-----------------------------------
首先,设置三种要素:用户、群组、角色。
用户为登录用,对应到人。群组对应为用户的集合,是一种特殊的用户。角色为一组权限项的集合,用户(群组)都有各自的角色。
权限的实现通过Permission类和Rule类来实现。 Permission供外部调用,Rule为一个接口,为权限判断规则。
-This is a mandate to find a design of the curriculum and write well, but the code is found, in some places may be misdirected. Put up for us and I study together.----------------------------------- First, the set of three elements : user, group, role. Users login to use corresponds to the people. User groups corresponding to the pool, a special users. A role for the authority, of the group assembled users (groups) have their own role. To achieve competence through Permission Rule category and class to be achieved. Permission for external calls, as a Rule interface for the authority to judge rules.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
src
...\org
...\...\fswan
...\...\.....\Identity.java
...\...\.....\IdentityImpl.java
...\...\.....\ImplementIdentity.java
...\...\.....\Input.java
...\...\.....\ManualInput.java
...\...\.....\permission
...\...\.....\..........\AbstractGroup.java
...\...\.....\..........\AbstractRole.java
...\...\.....\..........\AbstractUser.java
...\...\.....\..........\Group.java
...\...\.....\..........\Permission.java
...\...\.....\..........\Role.java
...\...\.....\..........\Rule.java
...\...\.....\..........\RuleImpl.java
...\...\.....\..........\User.java
...\...\.....\..........\XMLGroup.java
...\...\.....\..........\XMLRole.java
...\...\.....\..........\XMLUser.java
...\...\.....\ResourceLib.java
...\...\.....\workflow
...\...\.....\........\exception
...\...\.....\........\.........\CantFoundIDException.java
...\...\.....\........\.........\IdentityMapHadExist.java
...\...\.....\........\.........\IdentityMappingError.java
...\org
...\...\fswan
...\...\.....\Identity.java
...\...\.....\IdentityImpl.java
...\...\.....\ImplementIdentity.java
...\...\.....\Input.java
...\...\.....\ManualInput.java
...\...\.....\permission
...\...\.....\..........\AbstractGroup.java
...\...\.....\..........\AbstractRole.java
...\...\.....\..........\AbstractUser.java
...\...\.....\..........\Group.java
...\...\.....\..........\Permission.java
...\...\.....\..........\Role.java
...\...\.....\..........\Rule.java
...\...\.....\..........\RuleImpl.java
...\...\.....\..........\User.java
...\...\.....\..........\XMLGroup.java
...\...\.....\..........\XMLRole.java
...\...\.....\..........\XMLUser.java
...\...\.....\ResourceLib.java
...\...\.....\workflow
...\...\.....\........\exception
...\...\.....\........\.........\CantFoundIDException.java
...\...\.....\........\.........\IdentityMapHadExist.java
...\...\.....\........\.........\IdentityMappingError.java