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 B29C4200AE1 for ; Mon, 6 Jun 2016 16:31:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B14EA160A1E; Mon, 6 Jun 2016 14:31:22 +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 03A06160A55 for ; Mon, 6 Jun 2016 16:31:21 +0200 (CEST) Received: (qmail 29568 invoked by uid 500); 6 Jun 2016 14:31:21 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 29362 invoked by uid 99); 6 Jun 2016 14:31:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2016 14:31:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 050872C1F62 for ; Mon, 6 Jun 2016 14:31:21 +0000 (UTC) Date: Mon, 6 Jun 2016 14:31:21 +0000 (UTC) From: "Karsten Spang (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HTTPCLIENT-1736) TGT is forwarded to server when using Kerberos authentication MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 06 Jun 2016 14:31:22 -0000 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15316556#comment-15316556 ] Karsten Spang commented on HTTPCLIENT-1736: ------------------------------------------- I have reviewed the changes, and the results apparently does what I want. > TGT is forwarded to server when using Kerberos authentication > ------------------------------------------------------------- > > Key: HTTPCLIENT-1736 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1736 > Project: HttpComponents HttpClient > Issue Type: Improvement > Components: HttpClient > Affects Versions: 4.5.2 > Reporter: Karsten Spang > Assignee: Oleg Kalnichevski > Fix For: 4.5.3 > > > In {{GGSSchemeBase.generateGSSToken}}, line 133 in version 4.5.2: > {code:java} > gssContext.requestCredDeleg(true); > {code} > For Kerberos, this means that the client will forward the to TGT to the server. First, I don't see why you would want that, as that is an unnecessary security risk. Second, I have a problem with my {{SecurityManager}} (Oracle's in-database Aurora security manager), so I am unable to create a permission for this that works. > I suggest to change this to > {code:java} > gssContext.requestCredDeleg(false); > {code} > There might be situations where a client application would actually want to pass the TGT, but it should be possible to control this. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org