Skip to content

Commit

Permalink
MGR-125
Browse files Browse the repository at this point in the history
  • Loading branch information
madness-inc committed Oct 13, 2021
1 parent 625fcfb commit 1ffe800
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.appng</groupId>
<artifactId>appng-application-parent</artifactId>
<version>1.23.0-SNAPSHOT</version>
<version>1.23.0</version>
</parent>

<scm>
Expand Down
Expand Up @@ -67,6 +67,7 @@ public DataContainer getData(Site site, Application application, Environment env
ldapProps.add(ldapHost);
ldapProps.add(getProperty(siteProps, LdapService.LDAP_DOMAIN));
ldapProps.add(getProperty(siteProps, LdapService.LDAP_GROUP_BASE_DN));
ldapProps.add(getProperty(siteProps, LdapService.LDAP_USER_BASE_DN));
SimpleProperty ldapUser = getProperty(siteProps, LdapService.LDAP_USER);
ldapProps.add(ldapUser);
ldapProps.add(getProperty(siteProps, LdapService.LDAP_ID_ATTRIBUTE));
Expand Down
10 changes: 9 additions & 1 deletion src/test/resources/xml/LdapUsersTest-testSettings.xml
Expand Up @@ -12,7 +12,7 @@
</meta-data>
</config>
<data paginate="false">
<resultset chunk="0" chunkname="ldapSettings" chunksize="8" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="0" hits="8">
<resultset chunk="0" chunkname="ldapSettings" chunksize="9" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="0" hits="9">
<result>
<field name="name" type="text">
<value>ldapDisabled</value>
Expand Down Expand Up @@ -45,6 +45,14 @@
<value></value>
</field>
</result>
<result>
<field name="name" type="text">
<value>ldapUserBaseDn</value>
</field>
<field name="value" type="text">
<value></value>
</field>
</result>
<result>
<field name="name" type="text">
<value>ldapUser</value>
Expand Down

0 comments on commit 1ffe800

Please sign in to comment.