[teiid-issues] [JBoss JIRA] (TEIID-2800) Teiid Login Issue with special characters

Gautam Banerjee (JIRA) issues at jboss.org
Wed Jan 15 08:05:32 EST 2014


    [ https://issues.jboss.org/browse/TEIID-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935898#comment-12935898 ] 

Gautam Banerjee commented on TEIID-2800:
----------------------------------------

The url looks like this. The login username is %flow012 which is encoded to %25flow012 and passed to the url.

jdbc:teiid:Chorus;VirtualDatabaseVersion=1;PassthroughAuthentication=false;ApplicationName=JDBC;user=%25flow012;fetchSize=2048;autoCommitTxn=OFF;VirtualDatabaseName=Chorus;partialResultsMode=true;password=%25flow012
                
> Teiid Login Issue with special characters
> -----------------------------------------
>
>                 Key: TEIID-2800
>                 URL: https://issues.jboss.org/browse/TEIID-2800
>             Project: Teiid
>          Issue Type: Bug
>    Affects Versions: 8.1
>         Environment: Mainframe Jboss 7.1.1
>            Reporter: Gautam Banerjee
>            Assignee: Steven Hawkins
>
> When we try to login to teiid programmatically through datasource, we are having problem with username having special characters.
> We are encoding the special character as per url encoding
> eg : username %xyz is encoded as %25xyz but teiid does not decode the special character while passing username. So the username passed by teiid is %25xyz which fails authentication as the actual username is %xyz

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list