Fixed #SWS-56: Digest passwords are never accepted in the SimplePasswordValidationCallbackHandler
This commit is contained in:
@@ -16,11 +16,11 @@
|
||||
|
||||
package org.springframework.ws.soap.security.xwss.callback;
|
||||
|
||||
import java.util.Properties;
|
||||
|
||||
import com.sun.xml.wss.impl.callback.PasswordValidationCallback;
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import java.util.Properties;
|
||||
|
||||
public class SimplePasswordValidationCallbackHandlerTest extends TestCase {
|
||||
|
||||
private SimplePasswordValidationCallbackHandler handler;
|
||||
@@ -69,7 +69,7 @@ public class SimplePasswordValidationCallbackHandlerTest extends TestCase {
|
||||
PasswordValidationCallback callback = new PasswordValidationCallback(request);
|
||||
handler.handleInternal(callback);
|
||||
boolean authenticated = callback.getResult();
|
||||
assertFalse("Authenticated", authenticated);
|
||||
assertTrue("Authenticated", authenticated);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user