Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Fix sec config

68f7b73
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

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

Fix sec config
68f7b73
Select commit
Loading
Failed to load commit list.
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)