Hi Sergey

Yes, this is planned.

Initially, I move some classes from the fediz examples to the cxf plugin as 
they are always the same (CallbackHandler etc.). Additionally, an interceptor 
is added for JAX-RS endpoints to trigger the redirect to the IDP to get the 
saml token.

Thanks
Oli


------

Oliver Wulff

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

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

________________________________________
From: Sergey Beryozkin [[email protected]]
Sent: 03 December 2012 16:22
To: [email protected]
Subject: Re: Fediz IDP refactored

Hi

I was also planning to ask, if CXF plugin were to be added too, how will
it work with such a plugin ?
Cheers, Sergey



>> Hi there
>>
>> I've refactored the Fediz IDP and I'd like your feedback. The IDP is
>> based on a state machine which re-uses Servlet Filters to build up the
>> processing chain but an abstract AbstractAuthFilter handles all the
>> state related processing.
>>
>> I was struggeling a little bit how to define the states. An enum is to
>> static whereas a string to error prone. I'd like that users have the
>> option to extend the IDP without having to patch the enum class to
>> introduce new states.
>>
>> I've defined the default states in a enum but all processing is based
>> on strings.
>>
>> It's now much easier to add the SAML profile as only the
>> FederationFilter and FederationPostFilter has to be rewritten.
>>
>> Another topic I'd like your opinion is the pre-state condition. A
>> filter is called only if the one state condition is met. If a filter
>> could support depending on different states, there is also only one
>> FederationFilter needed.
>>
>> Looking forward for your feedback.
>>
>> 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
>>
>
>
>
> --
> Colm O hEigeartaigh
>
> Talend Community Coder
> http://coders.talend.com
>
>
> Ce message et les pièces jointes sont confidentiels et réservés à l'usage 
> exclusif de ses destinataires. Il peut également être protégé par le secret 
> professionnel. Si vous recevez ce message par erreur, merci d'en avertir 
> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne 
> pouvant être assurée sur Internet, la responsabilité d'Atos ne pourra être 
> recherchée quant au contenu de ce message. Bien que les meilleurs efforts 
> soient faits pour maintenir cette transmission exempte de tout virus, 
> l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne 
> saurait être recherchée pour tout dommage résultant d'un virus transmis.
>
> This e-mail and the documents attached are confidential and intended solely 
> for the addressee; it may also be privileged. If you receive this e-mail in 
> error, please notify the sender immediately and destroy it. As its integrity 
> cannot be secured on the Internet, the Atos liability cannot be triggered for 
> the message content. Although the sender endeavours to maintain a computer 
> virus-free network, the sender does not warrant that this transmission is 
> virus-free and will not be liable for any damages resulting from any virus 
> transmitted.


--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to