Page History
...
- Implement BasicAuthentication and authorization with the E2E Bridge
- Setup a role-hierarchy
- Assigning roles through reading a backend system
- Handle multiple operations in pre/postprocessing
- Saving information in the preprocessor for further use in the postprocessor.
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
Basic Authentication with the
...
Bridge
To implement basic authentication with the bridge one has to define the two tagged values authenticationMode and user in the component diagram. By setting these two tagged values this service can only be called when this user and its password are set in the SOAP or HTTP header.
...
SingleLine | false |
---|
...
.
...
Figure: Basic Authentication with the E2E Bridge
...
title | Click here to see the component diagram used in E2E Builder releases before 6.0 ... |
---|
Version | ||||
---|---|---|---|---|
| ||||
|
...
The above example shows how to implement basic authentication executed directly at the E2E Bridge. This implementation supports only one user. So one can define only one user at the "user" tagged value. This is suited for simple implementations or for testing. When having the need of supporting more than one user or have the user definitions stored in a external system like LDAP then one must define a proxy in front of the SOAP/HTTP service.
This example shows how to call such a service which requires basic authentication.
...
In chapter Adding Role Using Preprocessor the role have been assigned statically which in real world project would not be the case. The roles will be stored in a databases, LDAP, ActiveDirectory, a file or any other system. So the user will be given from outside through the SOAP or HTTP header by applying basic or secure authentication. The user is mapped by the E2E Bridge to the user attribute of The Principal Object .
...
Figure: Handling multiple operations having different parameters
Noteinfo | ||
---|---|---|
| ||
The order of the parameters in the interceptor message is given by the order of the operation parameters. This is order can be defined as follows: Navigate in the containment tree to the port, select the operation and hit "Specification" from the context menu. At the "parameter" section you can define the order of the input and output parameter. |
...