[jira] [Commented] (KNOX-1274) SSO redirect for Spark2 History Server needs to be rewritten

2018-04-24 Thread Sandeep More (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16450127#comment-16450127 ] Sandeep More commented on KNOX-1274: Hello [~mgaido]  I did a quick test and it appears

[jira] [Commented] (KNOX-1274) SSO redirect for Spark2 History Server needs to be rewritten

2018-04-24 Thread larry mccay (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16450229#comment-16450229 ] larry mccay commented on KNOX-1274: --- Marco may be using the Hadoop native JWTRedirectAuth

[jira] [Commented] (KNOX-1274) SSO redirect for Spark2 History Server needs to be rewritten

2018-04-24 Thread Marco Gaido (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16450235#comment-16450235 ] Marco Gaido commented on KNOX-1274: --- Yes [~lmc...@apache.org], this is what I am doing. S

[jira] [Commented] (KNOX-1274) SSO redirect for Spark2 History Server needs to be rewritten

2018-04-24 Thread Larry McCay (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16450286#comment-16450286 ] Larry McCay commented on KNOX-1274: --- Sure. You can work on a rewrite rule for the Locatio

[jira] [Commented] (KNOX-1274) SSO redirect for Spark2 History Server needs to be rewritten

2018-05-09 Thread Sandeep More (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16469460#comment-16469460 ] Sandeep More commented on KNOX-1274: [~mgaido] I have committed KNOX-1305 to master, so

[jira] [Commented] (KNOX-1274) SSO redirect for Spark2 History Server needs to be rewritten

2018-05-11 Thread Marco Gaido (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16471693#comment-16471693 ] Marco Gaido commented on KNOX-1274: --- Hi [~smore]. Thanks for your kind answer and your wo

[jira] [Commented] (KNOX-1274) SSO redirect for Spark2 History Server needs to be rewritten

2018-05-11 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16472084#comment-16472084 ] ASF subversion and git services commented on KNOX-1274: --- Commit 86a8e

[jira] [Commented] (KNOX-1274) SSO redirect for Spark2 History Server needs to be rewritten

2018-05-11 Thread Sandeep More (JIRA)
[ https://issues.apache.org/jira/browse/KNOX-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16472087#comment-16472087 ] Sandeep More commented on KNOX-1274: Great, thanks for the patch and your contribution

Re: [jira] [Commented] (KNOX-1274) SSO redirect for Spark2 History Server needs to be rewritten

2018-04-24 Thread larry mccay
Marco may be using the Hadoop native JWTRedirectAuthenticationHandler instead of SSOCookieProvider. In which case, the original URL would require a rewrite rule for the Location header. On Tue, Apr 24, 2018 at 12:00 PM, Sandeep More (JIRA) wrote: > > [ https://issues.apache.org/jira/browse/

Re: [jira] [Commented] (KNOX-1274) SSO redirect for Spark2 History Server needs to be rewritten

2018-04-24 Thread larry mccay
Sure. You can work on a rewrite rule for the Location header - look at other service definitions like Ambari - I think they rewrite redirects. In the meantime, since you are proxying as well as using SSO, you can use the SSOCookieProvider as Sandeep mentioned. As long as it supports trusted proxies