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

Steven Hawkins (JIRA) issues at jboss.org
Thu Jan 16 06:48:32 EST 2014


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

Steven Hawkins commented on TEIID-2800:
---------------------------------------

>So after this change, we should set the user/password parameters directly on teiidDataSource

Before this change if you set a property on TeiidDataSource that needs url encoding, it will need to be encoded form.  After this change properties such as user/password on the TeiidDataSource will not need to be encoded.

> If the user password is passed to getConnection() it will not be encoded. Am I correct?

Before this change user/password on getConnection(user, password) are ignored.  After this change, they will be used and do not need to be encoded.
                
> Teiid Login Issue with special characters
> -----------------------------------------
>
>                 Key: TEIID-2800
>                 URL: https://issues.jboss.org/browse/TEIID-2800
>             Project: Teiid
>          Issue Type: Bug
>          Components: JDBC Driver
>    Affects Versions: 8.1
>         Environment: Mainframe Jboss 7.1.1
>            Reporter: Gautam Banerjee
>            Assignee: Steven Hawkins
>            Priority: Blocker
>             Fix For: 8.7
>
>
> 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