Difference between revisions of "UserManagement Core"

From Gcube Wiki
Jump to: navigation, search
(User Management)
Line 1: Line 1:
 
==User Management==
 
==User Management==
 +
=== Introduction ===
 
User Management is a library that sits between the Liferay portal services and gCube portlets. The main functionality of the Library is to provide management of users, roles and organizations. It provides a layer of abstraction above the liferay services, hiding the configuration complexities of roles and organizations. The gcube requirement of roles in the scope of organization is achieved by creating a role with the organization name suffixed to it. The addition/removal of organization names to the role names are handled by the Library and are transparent to the application and portlets using the library.  
 
User Management is a library that sits between the Liferay portal services and gCube portlets. The main functionality of the Library is to provide management of users, roles and organizations. It provides a layer of abstraction above the liferay services, hiding the configuration complexities of roles and organizations. The gcube requirement of roles in the scope of organization is achieved by creating a role with the organization name suffixed to it. The addition/removal of organization names to the role names are handled by the Library and are transparent to the application and portlets using the library.  
  
 +
=== Interfaces ===
 
The library exposes three interfaces:
 
The library exposes three interfaces:
 
* User Manager
 
* User Manager
Line 9: Line 11:
 
These interfaces provide the functionalities necessary for CRUD operation on Users, Roles and Organizations and additional functionalities that organise users into Organizations and assigning/dismissal of roles.  
 
These interfaces provide the functionalities necessary for CRUD operation on Users, Roles and Organizations and additional functionalities that organise users into Organizations and assigning/dismissal of roles.  
  
Configuration details:
+
===Configuration details===
 
The "roles-config.xml" which contains the fixed set of roles that gets created for every VO/VRE created should be placed in the ${catalina.home}/shared/d4s folder for the User Management library to work.
 
The "roles-config.xml" which contains the fixed set of roles that gets created for every VO/VRE created should be placed in the ${catalina.home}/shared/d4s folder for the User Management library to work.
 
This roles-config.xml file contains the set of roles that are created for VO, VRE and Root VO. Any changes in the description of roles from any of the organization type is reflected in the xml file and thus the description and role names are rendered consistent.
 
This roles-config.xml file contains the set of roles that are created for VO, VRE and Root VO. Any changes in the description of roles from any of the organization type is reflected in the xml file and thus the description and role names are rendered consistent.
  
 
+
===Java Documentation===
 
The Java documentation of the library is available at : http://grid.eng.it/projects/usermanagement/xref/index.html
 
The Java documentation of the library is available at : http://grid.eng.it/projects/usermanagement/xref/index.html

Revision as of 10:07, 11 April 2011

User Management

Introduction

User Management is a library that sits between the Liferay portal services and gCube portlets. The main functionality of the Library is to provide management of users, roles and organizations. It provides a layer of abstraction above the liferay services, hiding the configuration complexities of roles and organizations. The gcube requirement of roles in the scope of organization is achieved by creating a role with the organization name suffixed to it. The addition/removal of organization names to the role names are handled by the Library and are transparent to the application and portlets using the library.

Interfaces

The library exposes three interfaces:

  • User Manager
  • Role Manager
  • Group(Organization) Manager

These interfaces provide the functionalities necessary for CRUD operation on Users, Roles and Organizations and additional functionalities that organise users into Organizations and assigning/dismissal of roles.

Configuration details

The "roles-config.xml" which contains the fixed set of roles that gets created for every VO/VRE created should be placed in the ${catalina.home}/shared/d4s folder for the User Management library to work. This roles-config.xml file contains the set of roles that are created for VO, VRE and Root VO. Any changes in the description of roles from any of the organization type is reflected in the xml file and thus the description and role names are rendered consistent.

Java Documentation

The Java documentation of the library is available at : http://grid.eng.it/projects/usermanagement/xref/index.html