Hi Mirko,

Artifactory checks for the existence of a "REMOTE_USER" request attribute,
CGI variable or http header (by that order). The request attribute or http
header the name is configurable.
Your servlet filter needs to set either the request attribute or a custom
http header. For the header make sure a user cannot manually set this
header (see the wiki page you mentioned for a sample of how to do it with
Apache httpd).
A much less intrusive approach, BTW, is to use a user plugin and implement
your own realm (see:
http://wiki.jfrog.org/confluence/display/RTF/User+Plugins#UserPlugins-Realms
).

Thanks,
Yoav

On Fri, Oct 12, 2012 at 5:37 PM, Mirko Friedenhagen <[email protected]
> wrote:

> Hello,
>
> I am looking for an example for the simple servlet filter mentioned in
> http://wiki.jfrog.org/confluence/display/RTF/Single+Sign-on and
> especially how to integrate this in the jetty-standalone distribution.
>
> Regards Mirko
>
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to