incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HC Tu ( 杜海成 ) <H...@taiwanmobile.com>
Subject save user profile bug(?)
Date Fri, 20 Jun 2008 04:08:47 GMT
Hi,
	I am using container managed authentication (using NTLM) but
	still set up a database just for saving users' full names. The problem
	is that JDBCUserDatabase.save(...) generates an exception
	when executing the following statement:

        	if ( !password.equals( existingPassword ) ) 
		...

	Exception happens because password is null in the case of 
	container managed authentication.

	The solution is probably to check password is not null first.
Hai-Chen Tu


DISCLAIMER:
Sample Disclaimer added in a VBScript.

Mime
View raw message