cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Wulff (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FEDIZ-41) Fediz IDP refactored with Spring Web Flow
Date Thu, 28 Mar 2013 16:19:16 GMT

    [ https://issues.apache.org/jira/browse/FEDIZ-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13616392#comment-13616392
] 

Oliver Wulff commented on FEDIZ-41:
-----------------------------------

Hi thierry
I'm going to merge it into trunk.

A few notes:
- we should avoid any dependency on System properties as it affects the whole JVM
- instead of handling basic authentication in a custom way, we should use spring security
instead

Thanks a lot
Oli
                
> Fediz IDP refactored with Spring Web Flow
> -----------------------------------------
>
>                 Key: FEDIZ-41
>                 URL: https://issues.apache.org/jira/browse/FEDIZ-41
>             Project: CXF-Fediz
>          Issue Type: Improvement
>          Components: IDP
>            Reporter: Thierry Beucher
>              Labels: patch
>         Attachments: fediz-idp-swf.zip
>
>
> I completely refactored Fediz idp component basing on Spring WebFlow : it can be found
as attached fediz-idp-swf.patch.
> Basically the idea was to remove complex chain of filters implementing the idp flow,
drastically reducing the base code.
> Applying the patch, all filters are removed and the master logic is migrated to federation-webflow.xml.
> It implies main other changes :
> •	web.xml : referencing new idp servlet handling web-flow and mapped to /federation
relative URL,
> •	new idp-servlet.xml including web-flow configuration and specific idp beans configuration
(which sources can be found into org.apache.cxf.fediz.service.idp.beans package),
> •	various new and modified jsp views invoked as SWF view or end states in flow (signinform.jsp,
signinresponseform.jsp, signoutresponse.jsp, genericerror.jsp and blank.jsp)
> The patch supports the following features, as currently implemented in original fediz-idp
 1.1.0-SNAPSHOT release :
> •	Login 
> •	Logout
> •	Basic authentication and Form authentication (switch from one to the other has currently
to be set in federation-webflow.xml)
> The patch has been successfully tested with singleWebapp project and webapp & fedizservice
projects.
> Note: the only change required for Relying Parties webapps is located in fediz-config.xml
: the protocol issuer should no longer be 
>                     <issuer>https://localhost:9443/fedizidp/</issuer>
> but
>                     <issuer>https://localhost:9443/fedizidp/federation</issuer>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message