Introduction - If you have any usage issues, please Google them yourself
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.
Packet : 11912919一个权限设计教程.rar filelist
src\org\fswan\Identity.java
src\org\fswan\IdentityImpl.java
src\org\fswan\ImplementIdentity.java
src\org\fswan\Input.java
src\org\fswan\permission\AbstractGroup.java
src\org\fswan\permission\AbstractRole.java
src\org\fswan\permission\AbstractUser.java
src\org\fswan\permission\Group.java
src\org\fswan\permission\Permission.java
src\org\fswan\permission\Role.java
src\org\fswan\permission\Rule.java
src\org\fswan\permission\RuleImpl.java
src\org\fswan\permission\User.java
src\org\fswan\permission\XMLGroup.java
src\org\fswan\permission\XMLRole.java
src\org\fswan\permission\XMLUser.java
src\org\fswan\permission
src\org\fswan\ResourceLib.java
src\org\fswan\workflow\exception\CantFoundIDException.java
src\org\fswan\workflow\exception\IdentityMapHadExist.java
src\org\fswan\workflow\exception\IdentityMappingError.java
src\org\fswan\workflow\exception
src\org\fswan\workflow
src\org\fswan
src\org
src
src\org\fswan\ManualInput.java