ApiKeyAuthenticationFilterUnitTest

7

tests

0

failures

0

ignored

0.215s

duration

100%

successful

Tests

Test Duration Result
withBothAuthorizationAndApiKeyHeaderRejectsRequestAsUnauthorized() 0.001s passed
withExpiredApiKeyRejectsRequestAsUnauthorized() 0.002s passed
withNotYetExpiredApiKeyAuthenticatesAsRelatedSubject() 0.003s passed
withUnknownApiKeyRejectsRequestAsUnauthorized() 0.141s passed
withValidApiKeyAuthenticatesAsRelatedSubject() 0.004s passed
withValidScopedApiKeyAuthenticatesWithScopeClaimAndAuthorities() 0.063s passed
withoutApiKeyHeaderPassesThroughUnauthenticated() 0.001s passed

Standard error

Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK. Please add Mockito as an agent to your build as described in Mockito's documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org.mockito/org/mockito/Mockito.html#0.3
WARNING: A Java agent has been loaded dynamically (/gradle-user-home/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy-agent/1.17.7/fbf3d6d649ed37fc9e9c59480a05be0a26e3c2da/byte-buddy-agent-1.17.7.jar)
WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning
WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information
WARNING: Dynamic loading of agents will be disallowed by default in a future release