You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2018/06/16 13:11:48 UTC

[Bug 62462] New: Re-enable credential delegation for SPNEGO

https://bz.apache.org/bugzilla/show_bug.cgi?id=62462

            Bug ID: 62462
           Summary: Re-enable credential delegation for SPNEGO
           Product: JMeter
           Version: 4.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: felix.schumacher@internetallee.de
  Target Milestone: ---

Created attachment 35969
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35969&action=edit
re-enable credential delegation for SPNEGO

Newer versions of commons httpclient disabled the delegation of credentials
when using SPNEGO for authentication.

The attached patch (same as pr 387 on github) makes it possible to enable
delegation again. It is disabled by default, though.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Re: Fwd: [Bug 62462] Re-enable credential delegation for SPNEGO

Posted by Felix Schumacher <fe...@internetallee.de>.

Am 16.06.2018 um 15:43 schrieb Philippe Mouawad:
> Hello,
> I have been recently adding to fixed bugs :
> - a target milestone
> - a fixedintrunk label
>
> This allows easy identification in bugzilla of upcoming fixes and remaining
> work when fixedintrunk is missing.
>
> what’s your thoughts ?
I think it is a nice addition and was amazed at your speed to add those 
on this bug entry :)

Felix

>
> Regards
>
> ---------- Forwarded message ----------
> From: <bu...@apache.org>
> Date: Saturday, June 16, 2018
> Subject: [Bug 62462] Re-enable credential delegation for SPNEGO
> To: issues@jmeter.apache.org
>
>
> https://bz.apache.org/bugzilla/show_bug.cgi?id=62462
>
> Philippe Mouawad <p....@ubik-ingenierie.com> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>             Keywords|                            |FixedInTrunk
>     Target Milestone|---                         |JMETER_4.1
>                   CC|                            |p.mouawad@ubik-ingenierie.c
>                     |                            |om
>


Fwd: [Bug 62462] Re-enable credential delegation for SPNEGO

Posted by Philippe Mouawad <p....@ubik-ingenierie.com>.
Hello,
I have been recently adding to fixed bugs :
- a target milestone
- a fixedintrunk label

This allows easy identification in bugzilla of upcoming fixes and remaining
work when fixedintrunk is missing.

what’s your thoughts ?

Regards

---------- Forwarded message ----------
From: <bu...@apache.org>
Date: Saturday, June 16, 2018
Subject: [Bug 62462] Re-enable credential delegation for SPNEGO
To: issues@jmeter.apache.org


https://bz.apache.org/bugzilla/show_bug.cgi?id=62462

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk
   Target Milestone|---                         |JMETER_4.1
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

-- 
You are receiving this mail because:
You are the assignee for the bug.


-- 
Cordialement.
Philippe Mouawad.
Ubik-Ingénierie

UBIK LOAD PACK Web Site <http://www.ubikloadpack.com/>

UBIK LOAD PACK on TWITTER <https://twitter.com/ubikloadpack>

[Bug 62462] Re-enable credential delegation for SPNEGO

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62462

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk
   Target Milestone|---                         |JMETER_4.1
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62462] Re-enable credential delegation for SPNEGO

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62462

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---
Date: Sat Jun 16 13:37:58 2018
New Revision: 1833637

URL: http://svn.apache.org/viewvc?rev=1833637&view=rev
Log:
Make delegation of credentials in SPNEGO possible again.

Newer versions of httpcomponents-client (at least in the 4.x branch) removed
the ability to delegate
kerberos credentials via SPNEGO. This will make it possible to re-enable
delegation by specifying
a system property.

Bugzilla Id: 62462
Closes #387 on github

Added:
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/DelegatingKerberosScheme.java
  (with props)
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/DelegatingSPNegoScheme.java
  (with props)
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/DynamicSPNegoSchemeFactory.java
  (with props)
Modified:
    jmeter/trunk/bin/jmeter.properties
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/DynamicKerberosSchemeFactory.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/component_reference.xml
    jmeter/trunk/xdocs/usermanual/properties_reference.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 62462] Re-enable credential delegation for SPNEGO

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62462

--- Comment #2 from Felix Schumacher <fe...@internetallee.de> ---
Date: Sat Jun 16 14:47:37 2018
New Revision: 1833640

URL: http://svn.apache.org/viewvc?rev=1833640&view=rev
Log:
Make checkstyle happy.

Follow up to r1833637

Bugzilla Id: 62462
Relates to #387 on github


Modified:
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/DynamicKerberosSchemeFactory.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/DynamicSPNegoSchemeFactory.java

-- 
You are receiving this mail because:
You are the assignee for the bug.