Sonarqube Openldap配置了但 登录401无法授权
#--------------------------------------------------------------------------------------------------
# LDAP CONFIGURATION
# Enable the LDAP feature
sonar.security.realm=LDAP
# Set to true when connecting to a LDAP server using a case-insensitive setup.
sonar.authenticator.downcase=true
# URL of the LDAP server. Note that if you are using ldaps, then you should install the server certificate into the Java truststore.
ldap.url=ldap://xxxxxx:389
# Bind DN is the username of an LDAP user to connect (or bind) with. Leave this blank for anonymous access to the LDAP directory (optional)
ldap.bindDn=cn=admin,dc=xxxx,dc=cn
注意别配错了,否则 登录401无法授权
# Bind Password is the password of the user to connect with. Leave this blank for anonymous access to the LDAP directory (optional)
文章来源: blog.csdn.net,作者:隔壁老瓦,版权归原作者所有,如需转载,请联系作者。
原文链接:blog.csdn.net/wxb880114/article/details/116600165
- 点赞
- 收藏
- 关注作者
评论(0)