[teiid-issues] [JBoss JIRA] (TEIID-3763) WS connector oauth security setting not work in Embedded

Steven Hawkins (JIRA) issues at jboss.org
Mon Oct 19 11:39:00 EDT 2015


     [ https://issues.jboss.org/browse/TEIID-3763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins reassigned TEIID-3763:
-------------------------------------

           Issue Type: Bug  (was: Feature Request)
        Fix Version/s: 8.12.x
                           (was: 8.13)
              Summary: WS connector oauth security setting not work in Embedded  (was: WS connector security setting not work in Embedded)
    Affects Version/s: 8.12
                           (was: 8.13)
             Assignee:     (was: Steven Hawkins)


We'll could at least address the NPE, but as Ramesh says the usage of the this resource adapter for oauth may depend upon usage in a JEE container.

> 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
>             Fix For: 8.12.x
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the teiid-issues mailing list