Return-Path: X-Original-To: apmail-aurora-issues-archive@minotaur.apache.org Delivered-To: apmail-aurora-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 66FE41145C for ; Tue, 26 Aug 2014 19:08:19 +0000 (UTC) Received: (qmail 55033 invoked by uid 500); 26 Aug 2014 19:08:19 -0000 Delivered-To: apmail-aurora-issues-archive@aurora.apache.org Received: (qmail 54995 invoked by uid 500); 26 Aug 2014 19:08:19 -0000 Mailing-List: contact issues-help@aurora.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.incubator.apache.org Delivered-To: mailing list issues@aurora.incubator.apache.org Received: (qmail 54986 invoked by uid 99); 26 Aug 2014 19:08:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2014 19:08:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 26 Aug 2014 19:08:18 +0000 Received: (qmail 54757 invoked by uid 99); 26 Aug 2014 19:07:57 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2014 19:07:57 +0000 Date: Tue, 26 Aug 2014 19:07:57 +0000 (UTC) From: "Kevin Sweeney (JIRA)" To: issues@aurora.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AURORA-351) Consider using Apache Shiro for scheduler Authentication and Authorization MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AURORA-351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14111153#comment-14111153 ] Kevin Sweeney commented on AURORA-351: -------------------------------------- I looked at integrating this yesterday and I like a lot of the features it has, specifically its permissions model and automatic mapping to REST endpoints. I can send a proposal to dev@ later but here are some notes: Advantages: - Guice integration, either via AOP and @RequiresPermission/@RequiresRole annotations or a set of servlet filters and a straightforward ini configuration. - A simple permission syntax. Permissions for REST resources can be auto-generated via the REST resource name. For example {{GET /maintenance}} would require {{maintenance:read}} and {{POST /maintenance}} would require {{maintenance:create}}. - Built in filters for POST formdata authentication and HTTP basic auth - Built in support for flat-file and LDAP realms (using JNDI) - Possible to support "complex" workflows, such as authenticate via SPNEGO, then authorization via information in LDAP. Potential roadblocks: - ShiroWebModule needs a handle to the ServletContext in its constructor - this is currently hidden from us in Twitter's HttpServerDispatch module. - Shiro provides 2 HTTP authentication filters out of the box - form auth and basic auth. We'd need to write some glue for SPNEGO authentication if we want to use that. - We probably won't need Shiro's Remember Me or Session management features. > Consider using Apache Shiro for scheduler Authentication and Authorization > -------------------------------------------------------------------------- > > Key: AURORA-351 > URL: https://issues.apache.org/jira/browse/AURORA-351 > Project: Aurora > Issue Type: Story > Components: Scheduler, Security > Reporter: Kevin Sweeney > Assignee: Kevin Sweeney > -- This message was sent by Atlassian JIRA (v6.2#6252)