Skip to content

Commit

Permalink
add hint on expiry and announcement options
Browse files Browse the repository at this point in the history
Signed-off-by: marianne-klein <marianne.klein@bosch.io>
  • Loading branch information
marianne-klein committed Jul 21, 2021
1 parent fb1f5ed commit 13429cc
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,17 @@ post:
a new subject is **injected into the matched policy entry** calculated with information extracted from the
authenticated JWT.
The injected subjects expire when the JWT expires.
The injected subjects expire when the JWT expires. The `expiry` timestamp (a string in ISO-8601 format)
specifies how long the specific subject will have access to the resource secured by the policy.
The subject will be automatically deleted from the policy once this timestamp is reached.
To give the subject a chance to prolong the access he can configure a connection to get announcements.
Policy announcements are published to websockets and connections that have the relevant subject ID.
The settings under `announcement` control when a policy announcement is published (before expiry or when deleted).
If the field `requestedAcks` is set, then the announcements are published with at-least-once delivery until
the acknowledgement requests under labels are fulfilled.
If a "beforeExpiry" announcement was sent without acknowledgement requests, or the a "beforeExpiry"
announcement was acknowledged, the "whenDeleted" announcement will not be triggered.
tags:
- Policies
parameters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,17 @@ post:
When all conditions match, a new subject is **injected into this policy entry** calculated with information
extracted from the authenticated JWT.
The injected subjects expire when the JWT expires.
The injected subjects expire when the JWT expires. The `expiry` timestamp (a string in ISO-8601 format)
specifies how long the specific subject will have access to the resource secured by the policy.
The subject will be automatically deleted from the policy once this timestamp is reached.
To give the subject a chance to prolong the access he can configure a connection to get announcements.
Policy announcements are published to websockets and connections that have the relevant subject ID.
The settings under `announcement` control when a policy announcement is published (before expiry or when deleted).
If the field `requestedAcks` is set, then the announcements are published with at-least-once delivery until
the acknowledgement requests under labels are fulfilled.
If a "beforeExpiry" announcement was sent without acknowledgement requests, or the a "beforeExpiry"
announcement was acknowledged, the "whenDeleted" announcement will not be triggered.
tags:
- Policies
parameters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ post:
the calculated subject with information extracted from the authenticated JWT is **removed
from the matched policy entry**.
The injected subjects expire when the JWT expires. The `expiry` timestamp (a string in ISO-8601 format)
specifies how long the specific subject will have access to the resource secured by the policy.
The subject will be automatically deleted from the policy once this timestamp is reached.
To give the subject a chance to prolong the access he can configure a connection to get announcements.
Policy announcements are published to websockets and connections that have the relevant subject ID.
The settings under `announcement` control when a policy announcement is published (before expiry or when deleted).
If the field `requestedAcks` is set, then the announcements are published with at-least-once delivery until
the acknowledgement requests under labels are fulfilled.
If a "beforeExpiry" announcement was sent without acknowledgement requests, or the a "beforeExpiry"
announcement was acknowledged, the "whenDeleted" announcement will not be triggered.
tags:
- Policies
parameters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ post:
When all conditions match, the calculated subject with information extracted from the authenticated JWT is **removed
from this policy entry**.
The injected subjects expire when the JWT expires. The `expiry` timestamp (a string in ISO-8601 format)
specifies how long the specific subject will have access to the resource secured by the policy.
The subject will be automatically deleted from the policy once this timestamp is reached.
To give the subject a chance to prolong the access he can configure a connection to get announcements.
Policy announcements are published to websockets and connections that have the relevant subject ID.
The settings under `announcement` control when a policy announcement is published (before expiry or when deleted).
If the field `requestedAcks` is set, then the announcements are published with at-least-once delivery until
the acknowledgement requests under labels are fulfilled.
If a "beforeExpiry" announcement was sent without acknowledgement requests, or the a "beforeExpiry"
announcement was acknowledged, the "whenDeleted" announcement will not be triggered.
tags:
- Policies
parameters:
Expand Down

0 comments on commit 13429cc

Please sign in to comment.