×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Where does SecurityHandler come from? It's not in the J2SE or J2EE platforms.

Brett


On Wed, 09 Feb 2005 20:05:26 +0100, Franco Biaggi <fbiaggi@xxxxxxxxxx> wrote:
> Hi Brett,
> 
> this is possible, due to data conversions...
> try to store the passwords in plain text like:
> 
> String encrypted_pwd = SecurityHandler.encryptToString( enteredPassword );
> 
> 
> Brett Slocum wrote:
> 
> >I have a Java web application that uses a servlet to store userids and
> >encrypted passwords, as well as a stored procedure on the AS400 that
> >checks to see if the password is correct.
> >
> >I'm having an problem where certain passwords (e.g. 'password99')
> >always fail when the stored procedure checks the encrypted passwords
> >against each other.
> >
> >Below is a code sniplet of the encryption. The String returned gets
> >stored via JDBC into the AS400.
> >
> >Is there some issue with storing UTF-8 characters in the DB2 database?
> >Should I use EBCDIC-US instead?
> >
> >Any help would be greatly appreciated. Thanks in advance.
> >
> >
> 
> --
> -----------------------------------------------------------------------------
> *** This messages was scanned for malicious contents ***
> -----------------------------------------------------------------------------
> Franco Biaggi
> CH-6807 Taverne
> 
> --
> This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) 
> mailing list
> To post a message email: JAVA400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/java400-l.
> 
> 


-- 
Brett Slocum
<slocum@xxxxxxxxxxxxxx>

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2026 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.