Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2585A200C1E for ; Fri, 17 Feb 2017 14:57:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2408B160B55; Fri, 17 Feb 2017 13:57:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6F7E3160B3F for ; Fri, 17 Feb 2017 14:57:45 +0100 (CET) Received: (qmail 29109 invoked by uid 500); 17 Feb 2017 13:57:44 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 29097 invoked by uid 99); 17 Feb 2017 13:57:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2017 13:57:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 43491180027 for ; Fri, 17 Feb 2017 13:57:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id l44Yr8sDhRSL for ; Fri, 17 Feb 2017 13:57:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id EC4145FAF1 for ; Fri, 17 Feb 2017 13:57:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 1782EE0410 for ; Fri, 17 Feb 2017 13:57:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id ACFC92411F for ; Fri, 17 Feb 2017 13:57:41 +0000 (UTC) Date: Fri, 17 Feb 2017 13:57:41 +0000 (UTC) From: "Andrea Cosentino (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-4989) Make LDAPLoginModule role.mapping option understand also fqdn MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 17 Feb 2017 13:57:46 -0000 [ https://issues.apache.org/jira/browse/KARAF-4989?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1587= 1886#comment-15871886 ]=20 Andrea Cosentino commented on KARAF-4989: ----------------------------------------- [~jb@nanthrax.net], can I merge this? Or do you want to merge yourself? > Make LDAPLoginModule role.mapping option understand also fqdn > ------------------------------------------------------------- > > Key: KARAF-4989 > URL: https://issues.apache.org/jira/browse/KARAF-4989 > Project: Karaf > Issue Type: Improvement > Components: karaf-security > Reporter: Andrea Tarocchi > Assignee: Jean-Baptiste Onofr=C3=A9 > Priority: Minor > > With the current way of parsing {{*role.mapping*}} option in {{*LDAPLogin= Module*}} is not possible to specify a fqdn; a possible use case is to achi= eve a mapping like this: > {code:xml} > > [...] > role.base.dn=3Dou=3Dgroups,dc=3Dexample,dc=3Dorg > role.name.attribute=3DsomeAttributeResultingInFqdn > role.filter=3D(member=3D%fqdn) > role.search.subtree=3Dtrue > role.mapping=3Dcn=3Dadmin,ou=3Dgroups,dc=3Dexample,dc=3Dorg=3Dkaraf= Role;cn=3Dadmin,ou=3DotherGroups,dc=3Dexample,dc=3Dorg=3DotherKarafRole > > {code} > i.e. mapping based on a fqdn string instead of a cn. -- This message was sent by Atlassian JIRA (v6.3.15#6346)