From: <sha...@us...> - 2010-01-22 17:43:31
|
Revision: 11061 http://exist.svn.sourceforge.net/exist/?rev=11061&view=rev Author: shabanovd Date: 2010-01-22 17:43:22 +0000 (Fri, 22 Jan 2010) Log Message: ----------- [ignore] handle char[] as credentials Modified Paths: -------------- trunk/eXist/src/org/exist/security/internal/Password.java Modified: trunk/eXist/src/org/exist/security/internal/Password.java =================================================================== --- trunk/eXist/src/org/exist/security/internal/Password.java 2010-01-22 16:33:28 UTC (rev 11060) +++ trunk/eXist/src/org/exist/security/internal/Password.java 2010-01-22 17:43:22 UTC (rev 11061) @@ -53,6 +53,10 @@ return equals(credentials); } + if (credentials instanceof char[]) { + return equals(String.valueOf((char[]) credentials)); + } + return false; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |