WSO2 Identity Server错误ERROR [Ljava.lang.Object;无法转换为[Ljava.lang.String;

时间:2015-01-08 10:46:44

标签: wso2 wso2is

当使用ReadOnlyLDAP作为主用户存储时,我看到错误[Ljava.lang.Object;无法转换为[Ljava.lang.String;尝试验证管理员用户时在日志中。

任何修复?

1 个答案:

答案 0 :(得分:0)

解决方案是将GetAllRolesOfUserEnabled属性添加到AuthorizationManager中的user-mgt.xml

<AuthorizationManager
        class="org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager">
        <Property name="AdminRoleManagementPermissions">/permission</Property>
        <Property name="AuthorizationCacheEnabled">true</Property>
        <Property name="GetAllRolesOfUserEnabled">true</Property>
    </AuthorizationManager>
相关问题