You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Domènec Sos i Vallès <DS...@nextret.net> on 2014/09/18 11:57:06 UTC
Tomcat plugin with Tomcat 6.0?
Hello, first post here, thanks in advance for any feedback.
I am evaluating Apache CXF Fediz as a way to create a Tomcat 6 relying party for ADFS 2.0.
I did the configuration steps, built the simple web app (no spring) example and first tried to access the medata URL. Got a no such class exception when trying to get the servlet context. Then, I tried building the tomcat plugin and noticed it has a dependency on the Tomcat 7 API.
So, the obvious questions is whether the plugin can be run on Tomcat 6. Can any previous experience be leveraged before I start tweaking a plugin version for Tomcat 6 API?
Also, a rough sample of fediz_config.xml for ADFS would be highly appreciated. I have experience in configuring the ADFS and Shibboleth world, but a bit stuck in Fediz at the moment :)
Regards,
/Domenec
PS: I know it may sound exotic, but the goal is to write a login handler for Shibboleth that uses an existing SSO session in ADFS. ADFS can proxy claims from Shibboleth to its MS relying parties, but not the opposite. Because of organizational decisions, ADFS must remain the login point (yes I know that letting users log in Shibboleth there would be no issues, I tested that). Inspiration comes from Shib wiki where login handlers using CAS are provided.
Re: Tomcat plugin with Tomcat 6.0?
Posted by Colm O hEigeartaigh <co...@apache.org>.
Yep, it is still in the initial phase of development, but it is working now
if you want to try it out! It adds support for WS-Federation to a CXF
JAX-RS endpoint, regardless of what the container is. See this example web
application:
https://git-wip-us.apache.org/repos/asf?p=cxf-fediz.git;a=tree;f=systests/cxfWebapp;h=05cd40126fc463de7f887b9e2ab355e3f8d74a8d;hb=HEAD
Colm.
On Thu, Sep 18, 2014 at 12:11 PM, Domènec Sos i Vallès <DS...@nextret.net>
wrote:
> Nice to know, looks like you'll have a beta tester here :)
>
> Thanks, Sergey
>
>
> -----Mensaje original-----
> De: Sergey Beryozkin [mailto:sberyozkin@gmail.com]
> Enviado el: jueves, 18 de septiembre de 2014 13:09
> AFAIK Colm has created a CXF plugin which is a servlet container
> independent, it is in Fediz snapshots at the moment
> Thanks, Sergey
>
--
Colm O hEigeartaigh
Talend Community Coder
http://coders.talend.com
RE: Tomcat plugin with Tomcat 6.0?
Posted by Domènec Sos i Vallès <DS...@nextret.net>.
Nice to know, looks like you'll have a beta tester here :)
Thanks, Sergey
-----Mensaje original-----
De: Sergey Beryozkin [mailto:sberyozkin@gmail.com]
Enviado el: jueves, 18 de septiembre de 2014 13:09
AFAIK Colm has created a CXF plugin which is a servlet container independent, it is in Fediz snapshots at the moment
Thanks, Sergey
Re: Tomcat plugin with Tomcat 6.0?
Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi
On 18/09/14 12:05, Domènec Sos i Vallès wrote:
> Thanks for the timely response.
>
> Yes, Tomcat 6 is a must as it is the app server for Shibboleth, which is told to run most of its features on Tomcat 7, too, but not with much "official" support. The Fediz relying party I am attempting is actually a Shibboleh login handler.
>
> I'll try some alternative, so freeze Fediz here. May be just redirecting to an ADFS claims based app that once authenticated sends back some claims to the login handler as a dirty proof of concept, before getting serious with Fediz.
>
AFAIK Colm has created a CXF plugin which is a servlet container
independent, it is in Fediz snapshots at the moment
Thanks, Sergey
> Thanks.
>
>
> -----Mensaje original-----
> De: Oliver Wulff [mailto:owulff@talend.com]
> Enviado el: jueves, 18 de septiembre de 2014 12:06
> Para: users@cxf.apache.org
> Asunto: RE: Tomcat plugin with Tomcat 6.0?
>
> Hi there
>
> Based on community discussions, Fediz IDP works with ASP.NET RP and the other way around.
>
> Is Tomcat 6 a must? Tomcat 7 works fine. There are some changes required to get it working for Tomcat 6 but we never invested in building a plugin because it's quite old.
>
> Thanks
>
> ------
>
> Oliver Wulff
>
> Blog: http://owulff.blogspot.com
> Solution Architect
> http://coders.talend.com
>
> Talend Application Integration Division http://www.talend.com
>
> ________________________________________
> From: Domènec Sos i Vallès [DSV@nextret.net]
> Sent: 18 September 2014 11:57
> To: users@cxf.apache.org
> Subject: Tomcat plugin with Tomcat 6.0?
>
> Hello, first post here, thanks in advance for any feedback.
>
> I am evaluating Apache CXF Fediz as a way to create a Tomcat 6 relying party for ADFS 2.0.
>
> I did the configuration steps, built the simple web app (no spring) example and first tried to access the medata URL. Got a no such class exception when trying to get the servlet context. Then, I tried building the tomcat plugin and noticed it has a dependency on the Tomcat 7 API.
>
> So, the obvious questions is whether the plugin can be run on Tomcat 6. Can any previous experience be leveraged before I start tweaking a plugin version for Tomcat 6 API?
>
> Also, a rough sample of fediz_config.xml for ADFS would be highly appreciated. I have experience in configuring the ADFS and Shibboleth world, but a bit stuck in Fediz at the moment :)
>
> Regards,
>
> /Domenec
>
> PS: I know it may sound exotic, but the goal is to write a login handler for Shibboleth that uses an existing SSO session in ADFS. ADFS can proxy claims from Shibboleth to its MS relying parties, but not the opposite. Because of organizational decisions, ADFS must remain the login point (yes I know that letting users log in Shibboleth there would be no issues, I tested that). Inspiration comes from Shib wiki where login handlers using CAS are provided.
>
RE: Tomcat plugin with Tomcat 6.0?
Posted by Domènec Sos i Vallès <DS...@nextret.net>.
Thanks for the timely response.
Yes, Tomcat 6 is a must as it is the app server for Shibboleth, which is told to run most of its features on Tomcat 7, too, but not with much "official" support. The Fediz relying party I am attempting is actually a Shibboleh login handler.
I'll try some alternative, so freeze Fediz here. May be just redirecting to an ADFS claims based app that once authenticated sends back some claims to the login handler as a dirty proof of concept, before getting serious with Fediz.
Thanks.
-----Mensaje original-----
De: Oliver Wulff [mailto:owulff@talend.com]
Enviado el: jueves, 18 de septiembre de 2014 12:06
Para: users@cxf.apache.org
Asunto: RE: Tomcat plugin with Tomcat 6.0?
Hi there
Based on community discussions, Fediz IDP works with ASP.NET RP and the other way around.
Is Tomcat 6 a must? Tomcat 7 works fine. There are some changes required to get it working for Tomcat 6 but we never invested in building a plugin because it's quite old.
Thanks
------
Oliver Wulff
Blog: http://owulff.blogspot.com
Solution Architect
http://coders.talend.com
Talend Application Integration Division http://www.talend.com
________________________________________
From: Domènec Sos i Vallès [DSV@nextret.net]
Sent: 18 September 2014 11:57
To: users@cxf.apache.org
Subject: Tomcat plugin with Tomcat 6.0?
Hello, first post here, thanks in advance for any feedback.
I am evaluating Apache CXF Fediz as a way to create a Tomcat 6 relying party for ADFS 2.0.
I did the configuration steps, built the simple web app (no spring) example and first tried to access the medata URL. Got a no such class exception when trying to get the servlet context. Then, I tried building the tomcat plugin and noticed it has a dependency on the Tomcat 7 API.
So, the obvious questions is whether the plugin can be run on Tomcat 6. Can any previous experience be leveraged before I start tweaking a plugin version for Tomcat 6 API?
Also, a rough sample of fediz_config.xml for ADFS would be highly appreciated. I have experience in configuring the ADFS and Shibboleth world, but a bit stuck in Fediz at the moment :)
Regards,
/Domenec
PS: I know it may sound exotic, but the goal is to write a login handler for Shibboleth that uses an existing SSO session in ADFS. ADFS can proxy claims from Shibboleth to its MS relying parties, but not the opposite. Because of organizational decisions, ADFS must remain the login point (yes I know that letting users log in Shibboleth there would be no issues, I tested that). Inspiration comes from Shib wiki where login handlers using CAS are provided.
RE: Tomcat plugin with Tomcat 6.0?
Posted by Oliver Wulff <ow...@talend.com>.
Hi there
Based on community discussions, Fediz IDP works with ASP.NET RP and the other way around.
Is Tomcat 6 a must? Tomcat 7 works fine. There are some changes required to get it working for Tomcat 6 but we never invested in building a plugin because it's quite old.
Thanks
------
Oliver Wulff
Blog: http://owulff.blogspot.com
Solution Architect
http://coders.talend.com
Talend Application Integration Division http://www.talend.com
________________________________________
From: Domènec Sos i Vallès [DSV@nextret.net]
Sent: 18 September 2014 11:57
To: users@cxf.apache.org
Subject: Tomcat plugin with Tomcat 6.0?
Hello, first post here, thanks in advance for any feedback.
I am evaluating Apache CXF Fediz as a way to create a Tomcat 6 relying party for ADFS 2.0.
I did the configuration steps, built the simple web app (no spring) example and first tried to access the medata URL. Got a no such class exception when trying to get the servlet context. Then, I tried building the tomcat plugin and noticed it has a dependency on the Tomcat 7 API.
So, the obvious questions is whether the plugin can be run on Tomcat 6. Can any previous experience be leveraged before I start tweaking a plugin version for Tomcat 6 API?
Also, a rough sample of fediz_config.xml for ADFS would be highly appreciated. I have experience in configuring the ADFS and Shibboleth world, but a bit stuck in Fediz at the moment :)
Regards,
/Domenec
PS: I know it may sound exotic, but the goal is to write a login handler for Shibboleth that uses an existing SSO session in ADFS. ADFS can proxy claims from Shibboleth to its MS relying parties, but not the opposite. Because of organizational decisions, ADFS must remain the login point (yes I know that letting users log in Shibboleth there would be no issues, I tested that). Inspiration comes from Shib wiki where login handlers using CAS are provided.