WS connector oauth security setting not work in Embedded
--------------------------------------------------------
Key: TEIID-3763
URL:
https://issues.jboss.org/browse/TEIID-3763
Project: Teiid
Issue Type: Bug
Components: Misc. Connectors
Affects Versions: 8.12
Reporter: Kylin Soong
Assignee: Kylin Soong
Fix For: 8.12.1, 8.13
Attachments: jca-ra-outbound.png
In WSConnectionImpl setDispatchProperties setting depend on Security Subject:
{code}
else if (this.mcf.getAsSecurityType() == WSManagedConnectionFactory.SecurityType.OAuth)
{
Subject subject = ConnectionContext.getSubject();
if (subject != null) {
}
...
}
{code}
Note if run WS connector with security in Embedded, ConnectionContext.getSubject() return
null, the cause exception throw.