You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 307b451
Browse filesBrowse the repository at this point in the historyBrowse files
Describe the notebook-auth fixtures, the two capture runs against the baseline
helper, and the sign-in failure seen after the in-test server restart, whose
cause is not yet known. The handoff table lists what a ZEPPELIN-6727 consumer
checks for each capture and who owns that behavior.
|`acl-write.json`| A permission write by the note owner (`200`) and by a non-owner (`403`). |
404
+
|`acl-write-role-owner.json`| The same writes when the owner is named only by a role. |
405
+
|`acl-write-unauthenticated.json`| A write without a session: `302` to `/api/login`, which answers `405`. |
406
+
|`acl-write-anonymous.json`| A write on an anonymous server, which succeeds. |
407
+
|`rest-401-logout.json`| A signed-in logout, answered with `401` and no `Location`. |
408
+
|`rest-401-with-location.json` (no file) | Skipped: this server never sends a `401` with `Location`; that needs an SSO realm such as Knox. |
409
+
|`http-session-expired.json`| An expired HTTP session while the WebSocket still works, and the logouts that the `405`s start. |
410
+
|`ws-global-auth-info.json`| An `AUTH_INFO` with no msgId, after which reads on the same socket still succeed. |
411
+
|`ws-global-error-info.json`| An `ERROR_INFO` with no msgId. |
412
+
|`ws-read-correlation.json`| Read failures that carry their request msgId next to an unrelated global `ERROR_INFO`. |
413
+
|`ws-session-logout.json`| After a logout, a command on the old ticket is dropped. Once the account signs in again, it is answered with `SESSION_LOGOUT`. |
414
+
|`session-expiry-server-restart.json`| The same signals after a server restart clears the tickets. |
415
+
416
+
The recorder is created with `{ authentication: true }`, so sign-in requests, redirect hops and their `location`
417
+
paths are recorded. Account names in response text are replaced with `<user>`, and the environment omits server
418
+
directories.
419
+
420
+
Capture with the baseline helper from [Prepare the baseline](#prepare-the-baseline). Most rows need an authenticated
421
+
server with an owner, a non-owner and a `role2` member in its Shiro template; the anonymous write needs a second run:
|`acl-write.json`, `acl-write-role-owner.json`| The write result comes from the server reply, not from a client owner check. | Server |`--mode auth`|
456
+
|`acl-write-anonymous.json`| An anonymous server accepts the write. | Server | anonymous |
457
+
|`acl-write-unauthenticated.json`, `http-session-expired.json`| Each `405` on a request that is not the logout starts one logout; a `405` on the logout does not. | Angular shell |`--mode auth`|
458
+
|`rest-401-logout.json`| A `401` without `Location` leaves the page as it is. A `401` with `Location` is covered by a synthetic test. | Angular shell |`--mode auth`|
459
+
|`ws-global-auth-info.json`, `ws-global-error-info.json`| A message without msgId is shown by the shell, does not change the sign-in state and is not a Core event. | Angular shell |`--mode auth`|
460
+
|`ws-read-correlation.json`| A failure with the read's msgId ends that read; an unrelated global error does not. | Core |`--mode auth`|
461
+
|`ws-session-logout.json`, `session-expiry-server-restart.json`|`SESSION_LOGOUT` is recorded as an invalid-ticket signal that nothing handles yet. | Angular shell (session foundation) |`--mode auth`, restart helper |
462
+
463
+
Behavior owner names who handles the behavior, which is not `metadata.owner`, the package that keeps the capture.
464
+
`src/app/app-http.interceptor.spec.ts` and `src/app/app-message.interceptor.spec.ts` replay the shell rows
0 commit comments