org.jbpm.identity

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Workflow Engines » jbpm jpdl 3.2.2 » org.jbpm.identity 
org.jbpm.identity

the core identity classes User, Membership and Group. They form a domain model for organisational information like users, groups and permissions. The structure is like this:

So membership models the n-m relation between User and Group. Property Group.type can be used to have different sets of groups. E.g. Groups of type "hierarchy" could represent the hierarchical structure of the company in departments, business units and teams. Groups also have a parent-child relation to model the relation between those hierarchical groups. The name property in the Membership can indicate the role which a certain user fullfills in that group. This is a notion that corresponds to a position in a company. E.g. the manager of business unit A. That is why also the membership can have permissions associated to it. (currently, the permissions are not used in jbpm)

Another group type example could be "security-role". In which you define a set of Groups that correspond to security roles that are used in the webapp security. Then you have to configure a security domain in your servlet container that checks for membership against this group type. That is how it is done now in jBPM.

In later versions (when business calendar becomes persistable), we might also include a link between Users and Groups on the one hand and business calendars on the other hand. To model different time zones and different business hours in different parts of a global company.

Java Source File NameTypeComment
Entity.javaClass common supertype for users, groups and memberships that manages the name and permissions.
Group.javaClass group of users.
Membership.javaClass one association between user and a group. The name of the membership represents the role-name that the user fullfills in the group. A membership can be a position in an organisation, therefor permissions can be associated with a membership. The name of the membership can be used as the role name.
User.javaClass user or a system.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.