Teiid Work Context not in sync with Security Context
Issue
- user logs in to that Vaadin Web Application, the credentials are passed to the VDB as expected. However, when the user closes the browser (the HTTPSession ends) and re-opens the browser and logs in with a different user JDV re-uses the DQPWorkContext of the previously logged in user (only in case that session has not timed out yet).
- incorrect (prior) credentials are used during subsequent log on attempts.
javax.persistence.RollbackException: Error while committing the transaction at org.hibernate.ejb.Transactionimpl.commit (...)
Environment
- JBoss Data Virtualization 6
- web application in JBoss Data Virtualization 6 connecting to a VDB using a local connection.
- web application data source has
PassthroughAuthenticationset totrue.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
