Securing Payloads in Message-Monitoring
[direct monitoring] [display] [health monitoring] [MDT] [message] [monitoring] [payloads] [runtime] [RWB] [tool] [workbench]
Related:
- Securing Payloads in Message-MonitoringSymptom You want to restrict access to message payloads in...
- Problems with German language in XI systemsSymptom Instead of the correct language according to the user...
- Message Overview shows wrong number of messagesSymptom Messages are stuck in a wrong status in the...
- Single Sign-On for Runtime WorkbenchSymptom Repeated logon in the Runtime Workbench. Other terms Single...
- ‘Unknown Host’ while communcation over http(s) within serverSymptom During the web based cross communication across web applications...
- Performance during Uppgrade – JOB_RASUVAR2Symptom During the upgrade you face a long runtime of...
Symptom
You want to restrict access to message payloads in message monitoring for adapter engines to certain types of messages, e.g. excluding special interfaces or including only messages from a certain sender.
Other terms
Runtime Workbench, RWB, Message Display Tool, MDT
Reason and Prerequisites
You have to create your own actions and group them to roles as described in the solution.
Solution
The solution described here, is not a general available part of our software. If you want to use it, please, contact SAP for further information.
You have to execute the following steps:
1. Define your own actions2. Group them to roles3. Create an XML document containing the definitions of 1 and 2.4. Deploy it to your server5. Modify the Exchange profile, such that the custom actions and roles are used.6. Assign the roles to users or groups
These steps are described in the following:
1. An action is identified by its name. It contains one Permission, which is defined by a permission class, a name and its value. The action is defined in the XML syntax like:
partyName, partyAgency, partySchema, service, interfaceName, interfaceNamespace, senderPartyName, receiverPartyName, senderPartyAgency, receiverPartyAgency, senderPartySchema, receiverPartySchema, senderService, receiverService, senderInterfaceName, receiverInterfaceName, senderInterfaceNamespace, receiverInterfaceNamespaceValid operators are: =, <, >, <=, >=, <>.
Please note that < has to be escaped as < and > has to be escaped as >.The Value defines what XI Messages are allowed by this Permission. The value in the Permission can end with a wildcard to allow a set of values in the XI MEssage.
Here are some examples:partyName=partyA, senderService=serviceA*, senderService<>serviceA2, receiverService=serviceB, interfaceNamespace=interfaceNamespaceA, interfaceName=interfaceApartyName=*, service=serviceA, interfaceNamespace=interfaceNamespaceA, interfaceName=interfaceAservice<>serviceA, interfaceNamespace=interfaceNamespaceA, interfaceName=interfaceA
Omitted attributes are regarded as *. For instance, the last example is equivalent to partyName=*, service<>serviceA, interfaceNamespace=interfaceNamespaceA, interfaceName=interfaceA.
The same attribute can appear multiple times like ’senderService’ in the first example. The Permission is granted if all expressions are fullfilled (logical AND). Example one contains the term ’senderService=serviceA*, senderService<>serviceA2′. This means that the permission is granted for XI Messages with a sender service that begins with ’serviceA’ (like ’serviceABC’, ’serviceAll’, …) but not for Messages with sender service ’serviceA2′.
For each attribute, a sender-/receiver specific and an unspecific version can be used: service, senderService, receiverService. An unspecific attribute means a check for sender and receiver side. The semantic is somewhat different in case the operator ‘<>‘ (not equal) is used:’service=abc’ means: Grant permission if sender service equals ‘abc’ OR receiver service equals ‘abc’’service>abc’ means: Grant permission if sender service lexicographically follows ‘abc’ OR receiver service lexicographically follows ‘abc’’service<>abc’ means: Grant permission if sender service is unequal ‘abc’ AND receiver service is unequal ‘abc’c) The value of a Permission can be one of the following:
‘execute’, ‘display’, ‘cancel’, ‘payload’, ‘edit_header’, ‘edit_payload’2. You can group several actions to a role. This can either be done with an XML document (see below) or in the user admin WebUI, which is invoked with http://
Please keep in mind that users which have not assigned any role for message monitoring permission, cannot perform any action on messages, once the Exchange Profile parameter is set.
You can avoid this by defining a default role containing the default permission values, e.g. ‘execute’, ‘display’ and ‘cancel’, and assign this role to all users.
You can include also default messages attributes for permission value ‘payload’ in this role, if payload of this messages should be displayed by all users.
Please note, that the standard roles have also to be assigned to your user or groups (e.g. the standard user group SAP_XI_MONITOR_J2EE).