Skip to content

Commit

Permalink
BE: Fix cyrillic in AD property name (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
Haarolean authored Mar 30, 2024
1 parent 78d308a commit 1d318cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class LdapProperties {

@Value("${oauth2.ldap.activeDirectory:false}")
private boolean isActiveDirectory;
@Value("${oauth2.ldap.aсtiveDirectory.domain:@null}")
@Value("${oauth2.ldap.activeDirectory.domain:@null}")
private String activeDirectoryDomain;

}
2 changes: 1 addition & 1 deletion api/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dynamic.config.enabled: true
oauth2:
ldap:
activeDirectory: false
aсtiveDirectory.domain: domain.com
activeDirectory.domain: domain.com

auth:
type: DISABLED
Expand Down
2 changes: 1 addition & 1 deletion documentation/compose/ui-ldap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ services:
SPRING_LDAP_USER_FILTER_SEARCH_FILTER: "(&(uid={0})(objectClass=inetOrgPerson))"
SPRING_LDAP_GROUP_FILTER_SEARCH_BASE: "ou=people,dc=planetexpress,dc=com"
# OAUTH2.LDAP.ACTIVEDIRECTORY: true
# OAUTH2.LDAP.AСTIVEDIRECTORY.DOMAIN: "memelord.lol"
# OAUTH2.LDAP.ACTIVEDIRECTORY.DOMAIN: "memelord.lol"

ldap:
image: rroemhild/test-openldap:latest
Expand Down

0 comments on commit 1d318cb

Please sign in to comment.