Pedro Igor created ELYWEB-35:
--------------------------------
Summary: Distributed sessions are immutable when obtained by id
Key: ELYWEB-35
URL:
https://issues.jboss.org/browse/ELYWEB-35
Project: Elytron Web
Issue Type: Bug
Components: Undertow Servlet
Affects Versions: 1.3.0.Final
Reporter: Pedro Igor
When deploying distributable JEE applications it is not possible to invalidate a session
scope when obtaining the scope based on the id, using
{{org.wildfly.security.http.HttpServerScopes#getScope(org.wildfly.security.http.Scope,
java.lang.String)}}.
This is because the distributable session manager from Wildfly clustering subsystem
returns a {{DistributableImmutableSession}} which does not support writes to the session
and the {{invalidate}} method is a no-op.
This also implies that session scopes obtained by id cannot be used to set any attribute
to the underlying session in Undertow.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)