The other thing I should mention:

The demo assumes that the 'mainstream' authorization code grant is used, where the user is expected to be present - hence Web SSO is a good 'candidate' for linking IDP & OAuth2 applications.

Going forward, this IDP to OAuth2 link will have to be supported better for other flows where no user is expected to be available at the token request time, and I guess a support for OAuth2-'enhanced' SAML2 assertions or JWT as grants would need to be implemented

Sergey

On 17/12/12 16:09, Sergey Beryozkin wrote:
Hi
On 17/12/12 15:23, web-id wrote:
Sergey,

You do not have to compile it or indeed even build the whole distro;
just remove a reference to the parent pom, and add the missing version
properties, example, add cxf.version: 2.7.1, etc

Got it! Please bear with me.

My interpretation of this is: Whatever library files needed by the
examples
will be loaded from a maven repo (?), such as
cxf-rt-rs-security-oauth2-2.7.0.jar

Yes, indeed

So all I need to do is download the subpackage on Oauth2 (which gives
me an
application to test out)
https://github.com/Talend/tesb-rt-se/tree/master/examples/cxf/jaxrs-oauth2

and compile it to get a war file (all the relevant libs are done
automatically by maven repo downloads).
Pls confirm.

Yes, just remove the parent pom section, and then do "mvn jetty:run-war"
in the war module - please start with a simple demp version and then
move to the sso variant



it is all about linking in IDP& OAuth2 applications in a way
which makes sense for a particular application, though of course using
the standard mechanisms

Thanks again. My impression was exactly that when 'started out.

In fact: why don't use your own IDP ?
Yes, that my intent. Looking for a any specifics I need to configure
on shib
idp.

this is why is used as a point of reference,
but the demo is supposed to work with any IDP which supports Web SSO

Sweet. Will get started with the oauth2 example. Looks like
you folks have done a tremendous work here.

Ofcourse, 'am a newbie to cxf, so its a learning curve for me.

Sure, I'm happy to help; note I spent 5 full days on creating an sso
version of the demo myself, it takes some time to get it all emulated as
close to the reality as possible - but it was kind of expected because
this was an advanced integration case. Hope others, including yourself,
will find it easier, once the build issues have been sorted out :-)

By the way, I wonder if we should move this discussion to Talend forums
or not...I guess build-related issues should be discussed at Talend
forums to minimize the noise on this list, while the issues related to
CXF implementation are OK to be discussed here...

Please ping me directly if you have any build-specific issues for a
start :-)

Thanks, Sergey

Thanks and good day
-Greg









--
View this message in context:
http://cxf.547215.n5.nabble.com/Oauth-2-provider-lib-and-Qs-tp5719975p5720376.html

Sent from the cxf-user mailing list archive at Nabble.com.




--
Sergey Beryozkin

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

Blog: http://sberyozkin.blogspot.com

Reply via email to