fix(api): MediaTokenClaim Serializable — ?st= media fetches 500ed after serving bytes #1227
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/media-token-serializable"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Root cause of the first live cast failure (Chromecast shows cast icon, no image): the JDBC-backed session store serializes the SecurityContext after every request; MediaTokenAuthentication carried a non-Serializable MediaTokenClaim, turning each successful token-authenticated media fetch into NotSerializableException/500 after the bytes were served. Fix: claim implements Serializable + JDK round-trip regression test. KNOWN_ISSUES ISSUE-159. Full :apps:api:test green locally.