Skip to content

[microservice] Add auth-mode ldap to enable authentication based on LDAP #116

[microservice] Add auth-mode ldap to enable authentication based on LDAP

[microservice] Add auth-mode ldap to enable authentication based on LDAP #116

GitHub Actions / JUnit Test Report failed May 28, 2024 in 0s

17 tests run, 15 passed, 0 skipped, 2 failed.

Annotations

Check failure on line 88 in microservice/src/test/java/de/muenchen/oss/ezldap/LdapAuthPassthroughTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

LdapAuthPassthroughTest.unauthenticated

expected: 401 UNAUTHORIZED
 but was: 403 FORBIDDEN
Raw output
org.opentest4j.AssertionFailedError: 

expected: 401 UNAUTHORIZED
 but was: 403 FORBIDDEN
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at de.muenchen.oss.ezldap.LdapAuthPassthroughTest.unauthenticated(LdapAuthPassthroughTest.java:88)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 96 in microservice/src/test/java/de/muenchen/oss/ezldap/LdapAuthPassthroughTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

LdapAuthPassthroughTest.basic_auth_invalid_dn_as_username

expected: 401 UNAUTHORIZED
 but was: 403 FORBIDDEN
Raw output
org.opentest4j.AssertionFailedError: 

expected: 401 UNAUTHORIZED
 but was: 403 FORBIDDEN
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at de.muenchen.oss.ezldap.LdapAuthPassthroughTest.basic_auth_invalid_dn_as_username(LdapAuthPassthroughTest.java:96)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)