Permission support Business Service Control Framework

to check whether the user can create a business service in the given business entity, or binding template in the given business service, and to check whether the user can update or delete a specified business entity, business service, binding template or tModel. These methods take a UDDI key, the UserContext and a DataFeeder implementation as arguments. Example 38. ParseResourceKey tag - Usage Example boolean allowed = PermissionEvaluator.checkPermissionDeleteTMtModelKey, userContext, dataFeeder; checkPermission tag To check user permissions in JSP, there is a tag checkPermission. In addition to a UDDI key, the UserContext and a DataFeeder implementation, it accepts operation and var attributes as arguments. It specified variable receives the result of the check. Table 95. checkPermission tag Parameters Required Description Param yes Name of the variable that will hold the result of the check. var no Scope for the new variable. scope yes Operation identifier. One of create, edit and delete. operation yes The key of the UDDI structure for which we want to check permissions. key yes Container for user account specific data. Typically available in global session, if the user is logged in. userContext yes Data object holding information about UDDI structures on this page. dataFeeder Example 39. ParseResourceKey tag - Usage Example bsc:checkPermission var=permission operation=edit key={row.key} userContext={globalSession[userContext]} dataFeeder={dataFeeder} c:if test={permission} syswf:control targetTask=publishendpointseditEndpoint caption=Delete mode=image src=gfxiconi_edit.gif syswf:param name=bindingKey value={row.key} syswf:control c:if

3.8.6. Components and Tags

This section describes selected components and tags of the Business Service Control BSC framework and components of the Business Service Control. The BSC Framework is a set of components and tags used by developers to develop Business Service Control components. For complete documentation of these components, see the Java Doc located in the REGISTRY_HOMEdocbsc-api directory. • Framework Components • Framework Tags • Business Service Control Components Page 591

3.8.6. Components and Tags

Framework Components This section describes the following component types: Query Wizard Result Taxonomy Util Query In this section, we will show you how Query components are used in Business Service Control. We explain query components on the page shown in Figure 14 with a page from a wizard for creating a new business service Figure 14. Query Components The service name in the drop down list under the rewrite service option is produced via the Entity chooser component The following fields in Figure 14 are produced via Taxonomy filters components: • The Usage, Release date, Version and Milestone fields are produced by inputCategorySetter component. • The Certification field is produced by the selectCategorySetter component Page 592 Query