Marc:
That is a good point, so let me rephrase my question.  
Can I override the behavior of showing the default login panel if an
invalid username/password is passed as an argument.   Return an
exception instead.
Thanks

----------------------------------------------------------------------

message: 1
date: Wed, 5 May 2004 20:09:53 +0200
from: Marc Logemann <spam1@xxxxxxxxxxxx>
subject: Re: retrieve the password from an AS400JDBCDriver connection?

Hi,

it would be a serious security hole if this would be possible.
I think there are lots of other ways to store a password than
asking the JDBC driver for it ;-)



> However if the username or password is incorrect, the default Login
> panel appears and allows the user to reenter the values.    It appears
> that I can retrieve the username by
> iSeriesConnection.getMetaData().getUserName();

> Is there a technique to get the password that is entered, so that I
can
> use the value elsewhere in the application?




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.