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 3507A200AE4 for ; Wed, 11 May 2016 00:35:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 33EA016098A; Tue, 10 May 2016 22:35:18 +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 53917160A11 for ; Wed, 11 May 2016 00:35:17 +0200 (CEST) Received: (qmail 26309 invoked by uid 500); 10 May 2016 22:35:16 -0000 Mailing-List: contact dev-help@falcon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.apache.org Delivered-To: mailing list dev@falcon.apache.org Received: (qmail 26298 invoked by uid 99); 10 May 2016 22:35:16 -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; Tue, 10 May 2016 22:35:16 +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 17F0FC015E for ; Tue, 10 May 2016 22:35:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.021 X-Spam-Level: X-Spam-Status: No, score=-4.021 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] 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 iBvQ58JT_19T for ; Tue, 10 May 2016 22:35:14 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id AD0325FBA5 for ; Tue, 10 May 2016 22:35:13 +0000 (UTC) Received: (qmail 25366 invoked by uid 99); 10 May 2016 22:35:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2016 22:35:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E23412C1F68 for ; Tue, 10 May 2016 22:35:12 +0000 (UTC) Date: Tue, 10 May 2016 22:35:12 +0000 (UTC) From: "Sowmya Ramesh (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FALCON-1943) Extension API/CLI fails when authorization is enabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 10 May 2016 22:35:18 -0000 Sowmya Ramesh created FALCON-1943: ------------------------------------- Summary: Extension API/CLI fails when authorization is enabled Key: FALCON-1943 URL: https://issues.apache.org/jira/browse/FALCON-1943 Project: Falcon Issue Type: Bug Reporter: Sowmya Ramesh Assignee: Sowmya Ramesh Extension REST API's fail with Authorization failed : 400/Illegal resource {noformat} 2016-05-06 00:42:59,616 INFO - [main:] ~ Generated unique-instance-id=3Dac= 165f6421108-os-r6-mhblfu-falcon-3-31 (GraphDatabaseConfiguration:1469) 2016-05-06 00:42:59,660 INFO - [main:] ~ Initiated backend operations thre= ad pool of size 4 (Backend:168) 2016-05-06 00:42:59,744 INFO - [main:] ~ Loaded unidentified ReadMarker st= art time Timepoint[1462495379743000 =CE=BCs] into com.thinkaurelius.titan.d= iskstorage.log.kcvs.KCVSLog$MessagePuller@3520a0d7 (KCVSLog:733) 2016-05-06 00:42:59,947 INFO - [main:] ~ Indexes already exist for graph (= MetadataMappingService:148) 2016-05-06 00:42:59,948 INFO - [main:] ~ Initialized graph db: titangraph[= berkeleyje:/hadoop/falcon/data/lineage/graphdb] (MetadataMappingService:93) 2016-05-06 00:42:59,950 INFO - [main:] ~ Init vertex property keys: [name,= type, version, timestamp] (MetadataMappingService:96) 2016-05-06 00:42:59,953 INFO - [main:] ~ Init edge property keys: [name, t= ype, version, timestamp] (MetadataMappingService:99) 2016-05-06 00:42:59,958 INFO - [main:] ~ Service initialized: org.apache.f= alcon.metadata.MetadataMappingService (ServiceInitializer:52) 2016-05-06 00:42:59,961 INFO - [main:] ~ FalconAuditFilter initialization = started (FalconAuditFilter:49) 2016-05-06 00:42:59,965 INFO - [main:] ~ FalconAuthenticationFilter initia= lization started (FalconAuthenticationFilter:83) 2016-05-06 00:42:59,985 INFO - [main:] ~ Falcon is running with authorizat= ion enabled (FalconAuthorizationFilter:62) 2016-05-06 00:43:01,623 INFO - [main:] ~ Started SocketConnector@0.0.0.0:1= 5000 (log:67) 2016-05-06 00:43:08,832 INFO - [1706292388@qtp-1610702581-0 - 88ba0bf7-230= 0-48a5-92a7-fede4775b523:] ~ HttpServletRequest RemoteUser is null (Servlet= s:47) 2016-05-06 00:43:08,836 INFO - [1706292388@qtp-1610702581-0 - 88ba0bf7-230= 0-48a5-92a7-fede4775b523:] ~ HttpServletRequest user.name param value is fa= lcon (Servlets:53) 2016-05-06 00:43:08,838 DEBUG - [1706292388@qtp-1610702581-0 - 88ba0bf7-230= 0-48a5-92a7-fede4775b523:] ~ Audit: falcon/172.22.95.100 performed request = http://os-r6-mhblfu-falcon-3-3.openstacklocal:15000/api/options?user.name= =3Dfalcon (172.22.95.100) at time 2016-05-06T00:43Z (FalconAuditFilter:86) 2016-05-06 00:43:08,875 INFO - [1706292388@qtp-1610702581-0 - ba3e5632-145= 7-415e-bdd4-4a81d31c4f70:] ~ HttpServletRequest RemoteUser is null (Servlet= s:47) 2016-05-06 00:43:08,876 INFO - [1706292388@qtp-1610702581-0 - ba3e5632-145= 7-415e-bdd4-4a81d31c4f70:] ~ HttpServletRequest user.name param value is fa= lcon (Servlets:53) 2016-05-06 00:43:08,876 DEBUG - [1706292388@qtp-1610702581-0 - ba3e5632-145= 7-415e-bdd4-4a81d31c4f70:] ~ Audit: falcon/172.22.95.100 performed request = http://os-r6-mhblfu-falcon-3-3.openstacklocal:15000/api/options?user.name= =3Dfalcon&user.name=3Dfalcon (172.22.95.100) at time 2016-05-06T00:43Z (Fal= conAuditFilter:86) 2016-05-06 00:43:08,917 INFO - [1706292388@qtp-1610702581-0 - 87cabbc5-87d= 9-45d3-aac8-5620c7cee207:] ~ HttpServletRequest RemoteUser is falcon (Servl= ets:47) 2016-05-06 00:43:08,919 INFO - [1706292388@qtp-1610702581-0 - 87cabbc5-87d= 9-45d3-aac8-5620c7cee207:falcon:GET//extension/enumerate/] ~ Logging in fal= con (CurrentUser:65) 2016-05-06 00:43:08,919 INFO - [1706292388@qtp-1610702581-0 - 87cabbc5-87d= 9-45d3-aac8-5620c7cee207:falcon:GET//extension/enumerate/] ~ Request from a= uthenticated user: falcon, URL=3D/api/extension/enumerate/, doAs user: null= (FalconAuthenticationFilter:185) 2016-05-06 00:43:08,921 INFO - [1706292388@qtp-1610702581-0 - 87cabbc5-87d= 9-45d3-aac8-5620c7cee207:falcon:GET//extension/enumerate/] ~ Authorizing us= er=3Dfalcon against request=3DRequestParts{resource=3D'extension', action= =3D'enumerate'} (FalconAuthorizationFilter:78) 2016-05-06 00:43:08,922 ERROR - [1706292388@qtp-1610702581-0 - 87cabbc5-87d= 9-45d3-aac8-5620c7cee207:falcon:GET//extension/enumerate/] ~ Authorization = failed : 400/Illegal resource: extension (FalconAuthorizationFilter:155) 2016-05-06 00:43:08,931 DEBUG - [1706292388@qtp-1610702581-0 - 87cabbc5-87d= 9-45d3-aac8-5620c7cee207:] ~ Audit: falcon/172.22.95.100 performed request = http://os-r6-mhblfu-falcon-3-3.openstacklocal:15000/api/extension/enumerate= / (172.22.95.100) at time 2016-05-06T00:43Z (FalconAuditFilter:86) {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)