[teiid-issues] [JBoss JIRA] (TEIID-2151) Passthrough authentication is not working shows below exception

Ramesh Reddy (JIRA) jira-events at lists.jboss.org
Fri Aug 17 11:04:14 EDT 2012


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

Ramesh Reddy resolved TEIID-2151.
---------------------------------

    Resolution: Rejected


Misunderstanding of the local connection semantics. The Embedded transport by default is not configured with any security domain, so in those situations if you use passthrough auth, since there is no security domain a null subject is assigned at authentication time, however if try to use that connection for anything else, it tries to validate the null subject and assertion errors are thrown.

The solution is either add a security domain to embedded transport or remove the passthrough auth falg on the url.
                
> Passthrough authentication is not working shows below exception
> ---------------------------------------------------------------
>
>                 Key: TEIID-2151
>                 URL: https://issues.jboss.org/browse/TEIID-2151
>             Project: Teiid
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 8.0
>            Reporter: Ramesh Reddy
>            Assignee: Ramesh Reddy
>             Fix For: 8.1
>
>
> {code}
> Caused by: org.teiid.core.TeiidComponentException: ASSERTION FAILED: expected reference to be not null
> 	at org.teiid.client.util.ExceptionUtil.convertException(ExceptionUtil.java:60) [teiid-client-8.1.0.Beta2-SNAPSHOT.jar:8.1.0.Beta2-SNAPSHOT]
> 	at org.teiid.transport.LocalServerConnection$1.invoke(LocalServerConnection.java:137) [teiid-runtime-8.1.0.Beta2-SNAPSHOT.jar:8.1.0.Beta2-SNAPSHOT]
> 	at $Proxy18.executeRequest(Unknown Source)	at org.teiid.jdbc.StatementImpl.execute(StatementImpl.java:640) [teiid-client-8.1.0.Beta2-SNAPSHOT.jar:8.1.0.Beta2-SNAPSHOT]
> {code}
> The reason looks like the "passthrough" connection property check is being done after the 'authentcation()' call on the LocalServerConnection

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list