Hi JB

I could configure something like this in jetty.xml I assume:

<Configure class="org.eclipse.jetty.webapp.WebAppContext">
  <Set name="contextPath">/fedizhelloworld</Set>
  <Get name="securityHandler">
    <Set name="loginService">
      <New class="org.apache.cxf.fediz.jetty.FederationLoginService">
          <Set name="name">WSFED</Set>
        </New>
    </Set>
    <Set name="authenticator">
      <New class="org.apache.cxf.fediz.jetty.FederationAuthenticator">
        <Set name="configFile"><SystemProperty name="jetty.home" 
default="."/>/etc/fediz_config.xml</Set>
      </New>
    </Set>
    <Set name="checkWelcomeFiles">true</Set>
  </Get>
</Configure>

But isn't it possible to configure the context related configs similar to the 
native jetty distribution (<jetty-home>/contexts) without having to update the 
core jetty.xml configuration?

Thanks
Oli


------

Oliver Wulff

Blog: http://owulff.blogspot.com
Solution Architect
http://coders.talend.com

Talend Application Integration Division http://www.talend.com

________________________________________
From: Jean-Baptiste Onofré [[email protected]]
Sent: 26 November 2012 20:52
To: [email protected]
Subject: Re: Configure authenticator for jetty in karaf

Hi Oli,

when installing the http feature, you have access to etc/jetty.xml where
you can create your custom configuration.

Regards
JB

On 11/26/2012 08:48 PM, Oliver Wulff wrote:
> Hi there
>
> I've built a custom authenticator for jetty thus web applications can
> also support WS-Federation SSO in Karaf for authentication. The snapshot
> version of the jetty module works but I'm wondering where I can
> configure the jetty authenticator, loginservice etc in Karaf.
>
> Thanks
> Oli
>
> ------
>
> Oliver Wulff
>
> Blog: http://owulff.blogspot.com <http://owulff.blogspot.com/>
> Solution Architect
> http://coders.talend.com
>
> <http://coders.talend.com>Talend Application Integration Division
> http://www.talend.com
>

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to