CoAP observation after access revocation
CoAP observation after access revocation
Choose a policy, then use Request observation and Publish resource change. Predict delivery before each change. After Revoke access, request observation again and publish another change. Repeat with the other policy.
Client → registration request → server · protected temperature resource
Client ← change notification when an observer is active ← server
- Current access
- Allowed
- Observer
- Inactive
- Last delivery
- None
Server evidence
No events recorded.
Access allowed. Observer inactive. Waiting for the first event.
After Revoke access, the next Request observation logs Registration denied in both policies. Compare the observer state and last delivery after Publish resource change.
Admission and active observations removes the stored observer when access is revoked. Admission only denies new registration and leaves the stored observer active. The registration and delivery entries answer different questions.
This state model uses symbolic resource changes and a local server log. It leaves out message encodings, timing, transport and retries, and assumes no notification is in flight at revocation. Withheld is a server log entry. After cleanup the client sees silence.