kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (KYLIN-2960) Support user/group and role authentication for LDAP
Date Tue, 13 Feb 2018 05:19:01 GMT


ASF GitHub Bot commented on KYLIN-2960:

yiming187 commented on issue #102: KYLIN-2960, modify the default LDAP admin group config.

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> Support user/group and role authentication for LDAP
> ---------------------------------------------------
>                 Key: KYLIN-2960
>                 URL:
>             Project: Kylin
>          Issue Type: New Feature
>          Components: Security
>            Reporter: peng.jianhua
>            Assignee: jiatao.tao
>            Priority: Major
>              Labels: patch
>             Fix For: v2.3.0
>         Attachments: 0001-KYLIN-2960-Submit-a-new-feature-that-it-supports-the.patch
> Currently, the user authentication interface that was provided by kylin to the third
party only supports user and role authentication. However only user and group have authentication
function when we use the LDAP authentication. In fact the authentication for user and role
and the authentication for user and group have the same functional characteristics between
different appplication system. So we should submit a new feature that it support the authentication
for user and role and the authentication for user and group when the LDAP authentication was
> We supplied the checkPermission interface to implement the new feature. In the interface
we set user groups information to the userRoles parameter when the LDAP was enabled, on the
contrary we set user roles information to the userRoles parameter. The interface is as following:
> /**
>  * Checks if a user has permission on an entity.
>  * 
>  * @param user
>  * @param userRoles
>  * @param entityType String constants defined in AclEntityType 
>  * @param entityUuid
>  * @param permission
>  * 
>  * @return true if has permission
>  */
> abstract public boolean checkPermission(String user, List<String> userRoles, //
> 		String entityType, String entityUuid, Permission permission);

This message was sent by Atlassian JIRA

View raw message