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: 2.471 sec
------------- Standard Error -----------------
Dec 16, 2024 10:06:52 AM org.apache.catalina.realm.SecretKeyCredentialHandler mutate
WARNING: Unable to generate a password based key
java.lang.IllegalArgumentException: invalid keyLength value
	at java.base/javax.crypto.spec.PBEKeySpec.<init>(PBEKeySpec.java:128)
	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 java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	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.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:50)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1197)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1042)

Dec 16, 2024 10:06:52 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 java.base/javax.crypto.spec.PBEKeySpec.<init>(PBEKeySpec.java:119)
	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 java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	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.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:50)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1197)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1042)

Dec 16, 2024 10:06:52 AM org.apache.catalina.realm.SecretKeyCredentialHandler mutate
WARNING: Unable to generate a password based key
java.lang.IllegalArgumentException: invalid iterationCount value
	at java.base/javax.crypto.spec.PBEKeySpec.<init>(PBEKeySpec.java:125)
	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 java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	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.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:50)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1197)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1042)

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

Testcase: testGeneral took 2.38 sec
Testcase: testZeroKeyLength took 0.065 sec
Testcase: testZeroSalt took 0.001 sec
Testcase: testZeroIterations took 0.006 sec

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

Last Updated: Mon, 16 Dec 2024 06:00:03 ().Python Logo