Some help improvement

This commit is contained in:
Robin Shen 2023-02-11 11:44:34 +08:00
parent 299bf12ec9
commit b324670d26
2 changed files with 8 additions and 4 deletions

View File

@ -12,8 +12,10 @@ public class ActiveDirectoryAuthenticator extends LdapAuthenticator {
private String groupSearchBase;
@Editable(order=100, name="LDAP URL", description=
"Specifies LDAP URL of the Active Directory server, for example: <i>ldap://ad-server</i>, or <i>ldaps://ad-server</i>")
@Editable(order=100, name="LDAP URL", description = "" +
"Specifies LDAP URL of the Active Directory server, for example: <i>ldap://ad-server</i>, or <i>ldaps://ad-server</i>. " +
"In case your ldap server is using a self-signed certificate for ldaps connection, you will need to " +
"<a href='https://docs.onedev.io/administration-guide/trust-self-signed-certificates' target='_blank'>configure OneDev to trust the certificate</a>")
@NotEmpty
@Override
public String getLdapUrl() {

View File

@ -49,8 +49,10 @@ public class LdapAuthenticator extends Authenticator {
private GroupRetrieval groupRetrieval = new DoNotRetrieveGroups();
@Editable(order=100, name="LDAP URL", description=
"Specifies LDAP URL, for example: <i>ldap://localhost</i>, or <i>ldaps://localhost</i>.")
@Editable(order=100, name="LDAP URL", description="" +
"Specifies LDAP URL, for example: <i>ldap://localhost</i>, or <i>ldaps://localhost</i>. In case" +
"your ldap server is using a self-signed certificate for ldaps connection, you will need " +
"to <a href='https://docs.onedev.io/administration-guide/trust-self-signed-certificates' target='_blank'>configure OneDev to trust the certificate</a>")
@NotEmpty
public String getLdapUrl() {
return ldapUrl;