Re: Knox connection to Active Directory Federation Services?

2018-07-26 Thread larry mccay
I don't recall seeing anyone using ADFS yet. This would certainly be of interest and if you get it to work - it would be great to get a wiki tutorial for doing so! I have seen deployments with CAC cards where the challenge is done via proxy like WebGate or something like that and then Header

Knox connection to Active Directory Federation Services?

2018-07-26 Thread Rutland, Nathan A CTR DISA BD (US)
I have been looking all over for an example of connecting to Active Directory Federation Services. Has anyone successfully implemented this with SAML 2.0? Our ADFS has a Common Access Card PKI tie-in, so I'm trying to leverage it to have Knox pointed to ADFS and Ambari set up as SSO to Knox.

Re: Complicated Javascript Rewrite

2018-07-26 Thread Watson, Billy
I can’t do that yet because of our version of Knox (0.6.0), but after we upgrade to 1.1 or after I will try it. Thanks! Billy Watson From: Sandeep Moré Reply-To: "user@knox.apache.org" Date: Thursday, July 26, 2018 at 1:52 PM To: "user@knox.apache.org" Subject: Re: Complicated Javascript

Re: Knox: how to create a custom dispatch class

2018-07-26 Thread David Morin
Yes, I tried PassAllHeadersNoEncodingDispatch but it didn't work for me too. In waiting a patch or a workaround, if you have a jar with an example of Dispatch class it would be great. Thanks Le jeu. 26 juil. 2018 à 20:41, Sandeep Moré a écrit : > Great, thanks ! > > On Thu, Jul 26, 2018 at 2:33

Re: Knox: how to create a custom dispatch class

2018-07-26 Thread David Morin
Thanks for your help. Concerning the problem with my dispatch class, here after my custom dispatch class I've packaged in a jar and then I've put in the ext directory. At first step, this is just a class to check that it is taken into account but it does not seem to be the case. I've already

Re: Knox: how to create a custom dispatch class

2018-07-26 Thread Dhruv Goyal
Yes, I will do that and share here. On Fri, 27 Jul 2018 at 12:01 AM, Sandeep Moré wrote: > Hello Dhruv, > > Can you open a JIRA for this issue, let's track it and try to get it fixed > ! > > > On Thu, Jul 26, 2018 at 2:26 PM Dhruv Goyal <777.dh...@gmail.com> wrote: > >> Hi, >> >> This is the

Re: Knox: how to create a custom dispatch class

2018-07-26 Thread Dhruv Goyal
Hi, This is the similar issue we were facing when we tried implementing grafana with knox, it is encoded twice in grafana as well, I tried using “PassAllHeadersNoEncodingDispatch” But it didnt worked for me. We will have to write a custom dispatch class. Regards Dhruv On Thu, 26 Jul 2018 at

Re: Knox: how to create a custom dispatch class

2018-07-26 Thread Sandeep Moré
That's weird, if Knox is not picking up the custom dispatch and picking up the XML than are you getting a ClassNotFoundException ? You can try putting the jar file under the lib directory and see if it works, I should work given all the other jars are found there. There is also a

Re: Knox: how to create a custom dispatch class

2018-07-26 Thread Sandeep Moré
Hello David, This should have worked, if you turn the debug log on you can see what dispatch Knox is trying to use. Also, if the changes are in service.xml then we need to touch the topology file so that Knox reloads it, I am thinking this could be an issue. If it still does not work, try

Re: Complicated Javascript Rewrite

2018-07-26 Thread Sandeep Moré
Hello Billy, You can use the variable $infix instead of $frontend. for e.g. {$infix[return,url,jobs]} Best, Sandeep On Thu, Jul 26, 2018 at

Re: [VOTE] Release Apache Knox 1.1.0 RC 3

2018-07-26 Thread Sandeep Moré
+1 * Downloaded and built from source * Checked LICENSE and NOTICE files * Verified GPG/MD5/SHA signatures for Knox source, Knox and Knoxshell release packages (zip files) * Installed pseudo-distributed instance (Mac OS X ) * Ran through knox tests * Checked websocket functionality * Checked

Re: [VOTE] Release Apache Knox 1.1.0 RC 3

2018-07-26 Thread larry mccay
* Verified signatures * Built from source * Checked LICENSE, NOTICE, ISSUES and CHANGES files * Tested Admin UI * Tested service discovery and topology generation * Tested dynamic update of Topologies list in Admin UI * Tested KnoxSSO with Admin UI * Tested KnoxToken service * Tested Knox Token

Knox: how to create a custom dispatch class

2018-07-26 Thread David Morin
​Hello, I've just read in detail the Knox dev guide. First of all, congrats ! Great job for the doc ! But I face to an issue with logsearch on my HDP cluster. This is a HDP 2.6.5 with Knox 0.12.0 I've created some XML files. These files are in PJs. But I face to some 403 requests. In fact, some

Complicated Javascript Rewrite

2018-07-26 Thread Watson, Billy
Hello, In trying to rewrite some javascript, there are multiple places where a path is used as a raw string and as a value somewhere else in the code. For instance, key: "searchPath", get: function() { return "jobs"

Re: [VOTE] Release Apache Knox 1.1.0 RC 3

2018-07-26 Thread Phil Zampino
Thanks for the quick turnaround on these RCs, Larry! +1 * Verified GPG/MD5/SHA signatures for Knox source, Knox and KnoxShell release packages (zip files) * Downloaded and built from source (with Java 1.8.0_144) * Checked LICENSE and NOTICE files * Checked ISSUES file * Checked CHANGES file *