Bug 780474 (SOA-2901) - Teiid user can inadvertently save invalid JDBC username/password in JBDS - and not see an error until he later tries a VDB action
Summary: Teiid user can inadvertently save invalid JDBC username/password in JBDS - an...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-2901
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: Documentation, EDS
Version: 5.1.0.ER9
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.3.0 GA
Assignee: Van Halbert
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-11 17:07 UTC by Len DiMaggio
Modified: 2011-11-17 15:34 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-02 20:27:14 UTC
Type: Bug


Attachments (Terms of Use)
Teiid-instance.png (165.89 KB, image/png)
2011-02-11 17:10 UTC, Len DiMaggio
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 780475 0 high CLOSED We should add a method/dialog to enable users to test JDBC connections used for Teiid instances 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker SOA-2901 0 Major Closed Teiid user can inadvertently save invalid JDBC username/password in JBDS - and not see an error until he later tries a V... 2014-02-25 13:13:39 UTC

Internal Links: 780475

Description Len DiMaggio 2011-02-11 17:07:24 UTC
project_key: SOA

When a user creates a new Teiid instance in JBDS, the "New Teiid Instance" dialog requires him to define these connection properties:

   * Admin username
   * Admin password
   * JDBC username

The user is not - at this point - required to define a JDBC password.

The user is able to test the Admin connection in this dialog - see attached screenshot.

The user is, however, able to define and save an invalid JBDC username and/or password in this dialog. If the user inadvertently does this, no error results when the Teiid instance is created. An error such as that listed below will result when the user attempts to execute a VDB:

11:55:23,743 WARN  [SECURITY] Processing exception 'The username "user" and/or password and/or payload token could not be authenticated by any membership domain.' for session null.  Exception type org.teiid.client.security.LogonException thrown from org.teiid.transport.LogonImpl.logon(LogonImpl.java:82). Enable more detailed logging to see the entire stacktrace.
11:55:23,871 WARN  [SECURITY] Processing exception 'The username "user" and/or password and/or payload token could not be authenticated by any membership domain.' for session null.  Exception type org.teiid.client.security.LogonException thrown from org.teiid.transport.LogonImpl.logon(LogonImpl.java:82). Enable more detailed logging to see the entire stacktrace.

The workaround to this situation is to have the user edit the Teiid instance prooperties to define a valid JDBC username and password.

Comment 1 Len DiMaggio 2011-02-11 17:10:43 UTC
Attachment: Added: Teiid-instance.png


Comment 2 Len DiMaggio 2011-02-11 17:11:20 UTC
Link: Added: This issue is related to SOA-2902


Comment 4 Van Halbert 2011-05-09 21:26:32 UTC
When the LogonException is received, can the Teiid instance properties dialog be presented and indicate that username and/or password are invalid?  

Comment 5 Van Halbert 2011-06-15 18:00:48 UTC
Link: Added: This issue depends TEIIDDES-870



Note You need to log in before you can comment on or make changes to this bug.