Designing and Implementing Composite Applications : My webMethods Server portlet Reference : Dynamic Business Objects : Role DBO
Role DBO
Portlet Title
Role
Portlet Name
wm_xt_role
Portlet File Name
wm_xt_role.pdp
Top-level Folder
system
JSR168 Portlet?
No
Alias
None
Default Instances of the portlet
None
Dynamic Business Objects. Administrators use this dynamic business object (DBO) in My webMethods Server to store general role properties for a role. My webMethods Server implicitly creates instances of this DBO when new roles are added to the system.
Users should never publish instances of this DBO. However, administrators can use this DBO to create roles from xmlImport.xml script files, for example, to create multiple roles to be deployed to multiple servers. The following is an example of an xmlImport script file that creates a static role named "Test Role". "Test Role" has the members: "user1", "user2", and "user3".
<context alias="role.provider.storage">
   <!-Creating storage for static role -->
   <wm_xt_staticrole name="Test Role" principals="user1,user2,user3"
      alias="test. role.storage" targetURI="test.role.storage" />
</context>
<context alias="role.provider.roles">
   <!-Creating Role instance -->
   <wm_xt_role name="Test Role"  
      roleProviderURI="role.static.provider"  
      alias="test.role">  
   <relation path="test.role.storage"
      type="role.relation"
   />
</context>
General Properties
Name (name)
Required. Defines the role name. Specify a name that is unique among all role names.
Description (description)
Defines a description of the role. Specify a description. If the property has no value, the role will not have a description.
Keywords (keywords)
Defines keywords for the role. Specify keywords that can be used when searching for the role in the My webMethods Server taxonomy. If the property has no value, no keywords are assigned to the role.
Parent Folder (parentID)
Required. Identifies where to store the role. Specify the parent folder ID.
Role Properties
Role Provider (roleProviderURI)
Required. Defines the alias or thingID of the role type provider to use for this instance. Specify one of the following:
role.static.provider
Default. Static role.
role.ldap.query.provider
LDAP query role.
role.db.provider
Database role.
role.rule.provider
Rule-based role.
Copyright © 2016- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback