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

Gautam Banerjee (JIRA) issues at jboss.org
Wed Jan 15 12:30:33 EST 2014


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

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

This URL is got by debugging. We are not directly setting the URL. We instantiate TeiidDataSource and get the Connection passing userid and password. The other parameters set on teiidDataSource directly.

TeiidDataSource               teiidDataSource = new TeiidDataSource();
teiidDataSource.getConnection("user", "password");
                
> 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