From dev-return-59167-archive-asf-public=cust-asf.ponee.io@directory.apache.org Sat Mar 16 14:22:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 516EB180648 for ; Sat, 16 Mar 2019 15:22:03 +0100 (CET) Received: (qmail 39902 invoked by uid 500); 16 Mar 2019 14:22:02 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 39892 invoked by uid 99); 16 Mar 2019 14:22:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Mar 2019 14:22:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id F04F2C2812 for ; Sat, 16 Mar 2019 14:22:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 01tZbwDki0Aj for ; Sat, 16 Mar 2019 14:22:00 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id B8FE260E28 for ; Sat, 16 Mar 2019 14:22:00 +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 557D3E0158 for ; Sat, 16 Mar 2019 14:22:00 +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 1539124595 for ; Sat, 16 Mar 2019 14:22:00 +0000 (UTC) Date: Sat, 16 Mar 2019 14:22:00 +0000 (UTC) From: "Shawn McKinney (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FC-265) Delegated Administration Enhancements to Apache Fortress REST MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FC-265?page=3Dcom.atlassian.jir= a.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16794267= #comment-16794267 ]=20 Shawn McKinney commented on FC-265: ----------------------------------- Changing the way Apache Fortress Rest accepts credentials for ARBAC02 check= s. =C2=A0Now it will accept the session from the container, produced by Apa= che Fortress Realm and serialized via the java.security.principal. =C2=A0Th= e rest runtime will deserialize that principal into a a core rbac session u= sing api on the Apache Fortress realm: ``` // Get the security principal from the runtime. String szPrincipal =3D httpRequest.getUserPrincipal().toString(); // This has to happen before it can be used by Fortress. fortress.core.model.Session realmSession =3D j2eePolicyMgr.deserialize(szPr= incipal); ``` =C2=A0 > Delegated Administration Enhancements to Apache Fortress REST > ------------------------------------------------------------- > > Key: FC-265 > URL: https://issues.apache.org/jira/browse/FC-265 > Project: FORTRESS > Issue Type: Improvement > Affects Versions: 2.0.3 > Reporter: Shawn McKinney > Assignee: Shawn McKinney > Priority: Major > Fix For: 2.0.4 > > > Described here: > http://mail-archives.apache.org/mod_mbox/directory-fortress/201903.mbox/%= 3c77DC86D5-8CA5-4089-8F1A-5C373752EED3@apache.org%3e -- This message was sent by Atlassian JIRA (v7.6.3#76005)