Issue Type: Bug Bug
Affects Versions: 2.5-beta
Assignee: Andrea Aime
Components: Global
Created: 30/Sep/13 9:45 PM
Description:
Failed tests:   testPasswordPersistence(org.geoserver.security.impl.MemoryUserDetailsServiceTest)

Point of failure is MemoryUserDetailsServiceTest:330:

assertTrue((prefix+"secret").equals(encrypted));

At the point of failure the value of the variable encrypted is "secret" and lacks the prefix "plain:".

Failure started with this GeoTools commit, and can be fixed by reverting it:

commit d82b49e65bbd129b400c6a05cfc7d2f81876725e
Author: Andrea Aime <[email protected]>
Date:   Mon Sep 30 12:02:24 2013 +0200
[GEOT-4581] ImageMosaic forces dependencies on jdbc-h2, jdbc-postgis, jdbc-oracle

Fails with JDK6 32-bit and 64-bit in Maven and Eclipse, all in a path with spaces.

I tried adding a gt-jdbc-h2 test dependency to the main pom, but this did not fix the problem. I was suspicious of the H2 changes, but why would this affect a password change?

Environment: Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 21:51:28+0800)
Maven home: /home/car605/junk/java/maven3
Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
Java home: /home/car605/junk/java/jdk1.6.0_45.x64/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "3.10-3-amd64", arch: "amd64", family: "unix"

And others
Project: GeoServer
Priority: Critical Critical
Reporter: Ben Caradoc-Davies
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to