Author: remm
Date: Wed Aug 31 07:36:20 2016
New Revision: 1758525
URL: http://svn.apache.org/viewvc?rev=1758525&view=rev
Log:
Fix test, a plain realm now needs a credentials handler since it's only set in
startInternal.
Modified:
tomcat/trunk/test/org/apache/catalina/realm/TestMemoryRealm.java
Modified: tomcat/trunk/test/org/apache/catalina/realm/TestMemoryRealm.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/realm/TestMemoryRealm.java?rev=1758525&r1=1758524&r2=1758525&view=diff
==
--- tomcat/trunk/test/org/apache/catalina/realm/TestMemoryRealm.java (original)
+++ tomcat/trunk/test/org/apache/catalina/realm/TestMemoryRealm.java Wed Aug 31
07:36:20 2016
@@ -29,6 +29,7 @@ public class TestMemoryRealm {
@Test
public void testBug56246() {
MemoryRealm memoryRealm = new MemoryRealm();
+memoryRealm.setCredentialHandler(new MessageDigestCredentialHandler());
Principal p = memoryRealm.authenticate("foo", "bar");
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org