ldap Context accountMapping

This commit is contained in:
MaxKey
2022-02-19 09:04:52 +08:00
parent ee8b7536e1
commit 2fe1f9f612
11 changed files with 68 additions and 8 deletions

View File

@@ -54,6 +54,8 @@ public class LdapContext extends JpaBaseEntity implements Serializable {
@Column
String msadDomain;
@Column
String accountMapping;
@Column
String sslSwitch;
@Column
String trustStore;
@@ -152,6 +154,14 @@ public class LdapContext extends JpaBaseEntity implements Serializable {
this.sslSwitch = sslSwitch;
}
public String getAccountMapping() {
return accountMapping;
}
public void setAccountMapping(String accountMapping) {
this.accountMapping = accountMapping;
}
public String getTrustStore() {
return trustStore;
}

View File

@@ -32,12 +32,12 @@ public class MetadataEndpoint {
version.append("---------------------------------------------------------------------------------\n");
version.append("+ JAVA \n");
version.append(String.format("+ %s java version %s, class %s\n",
version.append(String.format("+ %s java version %s, class %s\n",
SystemUtils.JAVA_VENDOR,
SystemUtils.JAVA_VERSION,
SystemUtils.JAVA_CLASS_VERSION
));
version.append(String.format("+ %s (build %s, %s)\n",
version.append(String.format("+ %s (build %s, %s)\n",
SystemUtils.JAVA_VM_NAME,
SystemUtils.JAVA_VM_VERSION,
SystemUtils.JAVA_VM_INFO