You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Rafal Grzymkowski <my...@o2.pl> on 2015/09/23 20:13:36 UTC

How to turn on basic authentication for the Spark Web

Hi,

I want to enable basic Http authentication for the spark web UI (without recompilation need for Spark).
I see there is 'spark.ui.filters' option but don't know how to use it.
I found possibility to use kerberos param but it's not an option for me.
What should I set there to use secret token based auth or user/passwd?

Any hints?

/MyCo


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Re: How to turn on basic authentication for the Spark Web

Posted by Deenar Toraskar <de...@gmail.com>.
Check this out
http://lambda.fortytools.com/post/26977061125/servlet-filter-for-http-basic-auth
or https://gist.github.com/neolitec/8953607 for examples of filters
implementing basic authentication. Implement one of these and set them in
the spark.ui.filters property.

Deenar

On 23 September 2015 at 20:44, Rafal Grzymkowski <my...@o2.pl> wrote:

> I know this Spark Security page, but the information there is not
> sufficient.
> Anyone make it works? Those basic servlets for ui.filters

Re: How to turn on basic authentication for the Spark Web

Posted by Rafal Grzymkowski <my...@o2.pl>.
I know this Spark Security page, but the information there is not sufficient.
Anyone make it works? Those basic servlets for ui.filters

Re: How to turn on basic authentication for the Spark Web

Posted by Deenar Toraskar <de...@gmail.com>.
Rafal
Check this out https://spark.apache.org/docs/latest/security.html

Regards
Deenar

On 23 September 2015 at 19:13, Rafal Grzymkowski <my...@o2.pl> wrote:

> Hi,
>
> I want to enable basic Http authentication for the spark web UI (without
> recompilation need for Spark).
> I see there is 'spark.ui.filters' option but don't know how to use it.
> I found possibility to use kerberos param but it's not an option for me.
> What should I set there to use secret token based auth or user/passwd?
>
> Any hints?
>
> /MyCo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org
>
>