Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security statement for ResponseReceiverPaths of long-running services #941

Open
kmohr-soprasteria opened this issue Jan 22, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@kmohr-soprasteria
Copy link
Collaborator

kmohr-soprasteria commented Jan 22, 2024

Task:
Add a new section for this in ConceptOfAuthenticationAuthorization for the special handling of ResponseReceiverPaths of callbacks where the answer cannot be sent immediately due to long execution time.


Problem description:

  • When a consuming application calls a service with a longer processing time, the result cannot be returned in the ResponseBody.
  • In this case, the consuming application must pass the TCP address and ResponseReceiverPath (OperationName) in the RequestBody.
  • The serving application must respond a case identifier.
  • The serving application later sends the result along with the case identifier to the ResponseReceiverPath of the consuming application.
  • Because the consuming application's ResponseReceiverPath is sent with each call, no ClientStack (HttpClient etc.) is created in the serving application.
  • Because there is no OperationClient in the serving application, OperationKeyManagement cannot store an OperationKey for calling the ResponseReceiverPath.

Regulation:

  • ResponseReceiverPaths must not be protected by an OperationKey, they shall not contain any security statement.
  • Existing specifications that have not yet been fully implemented must be corrected accordingly as part of a BugFix release.

It is assumed that this regulation will make life easier for the implementers and therefore will not cause any commercial consequences.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant