Run| Workspace| Log| Issues| Fixes| Pre-reqs| Stats| XRef| Maven Repository Proxy Log Gump Logo

Details

File Contents

Testsuite: org.apache.catalina.realm.TestSecretKeyCredentialHandler
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.287 sec
------------- Standard Error -----------------
Sep 23, 2017 10:17:44 AM org.apache.catalina.realm.SecretKeyCredentialHandler mutate
WARNING: Unable to generate a password based key
java.lang.IllegalArgumentException: invalid keyLength value
	at javax.crypto.spec.PBEKeySpec.<init>(PBEKeySpec.java:127)
	at org.apache.catalina.realm.SecretKeyCredentialHandler.mutate(SecretKeyCredentialHandler.java:86)
	at org.apache.catalina.realm.SecretKeyCredentialHandler.mutate(SecretKeyCredentialHandler.java:79)
	at org.apache.catalina.realm.DigestCredentialHandlerBase.mutate(DigestCredentialHandlerBase.java:127)
	at org.apache.catalina.realm.TestSecretKeyCredentialHandler.doTest(TestSecretKeyCredentialHandler.java:71)
	at org.apache.catalina.realm.TestSecretKeyCredentialHandler.testZeroKeyLength(TestSecretKeyCredentialHandler.java:59)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:346)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:311)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:76)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:309)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:63)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:289)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:393)
	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:48)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:539)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1210)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1052)

Sep 23, 2017 10:17:44 AM org.apache.catalina.realm.SecretKeyCredentialHandler mutate
WARNING: Unable to generate a password based key
java.lang.IllegalArgumentException: the salt parameter must not be empty
	at javax.crypto.spec.PBEKeySpec.<init>(PBEKeySpec.java:118)
	at org.apache.catalina.realm.SecretKeyCredentialHandler.mutate(SecretKeyCredentialHandler.java:86)
	at org.apache.catalina.realm.SecretKeyCredentialHandler.mutate(SecretKeyCredentialHandler.java:79)
	at org.apache.catalina.realm.DigestCredentialHandlerBase.mutate(DigestCredentialHandlerBase.java:127)
	at org.apache.catalina.realm.TestSecretKeyCredentialHandler.doTest(TestSecretKeyCredentialHandler.java:71)
	at org.apache.catalina.realm.TestSecretKeyCredentialHandler.testZeroSalt(TestSecretKeyCredentialHandler.java:49)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:346)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:311)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:76)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:309)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:63)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:289)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:393)
	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:48)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:539)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1210)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1052)

Sep 23, 2017 10:17:44 AM org.apache.catalina.realm.SecretKeyCredentialHandler mutate
WARNING: Unable to generate a password based key
java.lang.IllegalArgumentException: invalid iterationCount value
	at javax.crypto.spec.PBEKeySpec.<init>(PBEKeySpec.java:124)
	at org.apache.catalina.realm.SecretKeyCredentialHandler.mutate(SecretKeyCredentialHandler.java:86)
	at org.apache.catalina.realm.SecretKeyCredentialHandler.mutate(SecretKeyCredentialHandler.java:79)
	at org.apache.catalina.realm.DigestCredentialHandlerBase.mutate(DigestCredentialHandlerBase.java:127)
	at org.apache.catalina.realm.TestSecretKeyCredentialHandler.doTest(TestSecretKeyCredentialHandler.java:71)
	at org.apache.catalina.realm.TestSecretKeyCredentialHandler.testZeroIterations(TestSecretKeyCredentialHandler.java:54)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:346)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:311)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:76)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:309)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:63)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:289)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:393)
	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:48)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:539)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1210)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1052)

------------- ---------------- ---------------

Testcase: testGeneral took 1.26 sec
Testcase: testZeroKeyLength took 0.01 sec
Testcase: testZeroSalt took 0.001 sec
Testcase: testZeroIterations took 0.002 sec

Apache Gump, Gump, Apache, the Apache feather logo, and the Apache Gump project logos are trademarks of The Apache Software Foundation.

Last Updated: Sat, 23 Sep 2017 06:00:06 ().Python Logo