[
https://issues.apache.org/jira/browse/KYLIN-5793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17832564#comment-17832564
]
zhimin wu commented on KYLIN-5793:
----------------------------------
**Fix Design**
In `kylinSecurity.xml`, the value injected through
`${kylin.security.acl.admin-role}` is garbled. The key is to solve the problem
of garbled Chinese characters here.
The injection of property values in XML through `${}` is implemented by Spring.
To address this, modify the
`org.apache.kylin.rest.security.PasswordPlaceholderConfigurer` class by adding
the following line of code:
```java
this.setFileEncoding(Charset.defaultCharset().toString());
```
> When integrating with LDAP and the configured admin group name is Chinese,
> system admin users occasionally have abnormal permissions
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: KYLIN-5793
> URL: https://issues.apache.org/jira/browse/KYLIN-5793
> Project: Kylin
> Issue Type: Bug
> Components: Others
> Reporter: zhimin wu
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)