我正在尝试在WSO2 api管理器中配置LDAP服务器,以便我能够使用我的LDAP用户名登录。
我根据可用的文档进行了配置,在服务器启动期间我没有遇到任何问题,但是当我尝试使用用户名登录时,它无法登录我并在控制台中给出如下错误:
WARN - CarbonAuthenticationUtil Failed Administrator login attempt 'sm38553[-1234]' at [2016-03-31 15:51:42,564+0530] from IP address 10.42.47.196
[2016-03-31 15:51:42,566] WARN - AuthenticationHandler Illegal access attempt at [2016-03-31 15:51:42,0566] from IP address 10.42.47.196 while trying to authenticate access to service LoggedUserInfoAdmin
[2016-03-31 15:51:42,567] ERROR - AUDIT_LOG Illegal access attempt at [2016-03-31 15:51:42,0566] from IP address 10.42.47.196 while trying to authenticate access to service LoggedUserInfoAdmin
答案 0 :(得分:1)
如果要为超级管理员使用不同的用户名,则必须在user-mgt.xml文件中更改
<Configuration>
<AddAdmin>true</AddAdmin>
<AdminRole>admin</AdminRole>
<AdminUser>
<UserName>abimaran</UserName>
<Password>abimaran</Password>
</AdminUser>
<EveryOneRoleName>everyone</EveryOneRoleName> <!-- By default users in this role sees the registry root -->
<Property name="dataSource">jdbc/WSO2CarbonDB</Property>
</Configuration>