[appengine-java] Re: OpenID: What's the use of the createLoginURL attributesRequest parameter

2010-12-07 Thread monteslu
I'd like some clarification on this as well.


According to the javadoc:

attributesRequest - additional attributions requested for this login,
IDP may not may not support these attributes.


So what are some examples of this?



The User object returned from UserService.getCurrentUser() after
openId authentication is very different depending on the provider.  In
particular some (google  yahoo) have an email address on the user,
others(myopenid.com) do not.

Does specifying attributes ask the provider to return data like email
addresses?  Do I have to specify different attributes for each
provider implementation?





On Nov 5, 6:00 am, Alex alex.jong...@gmail.com wrote:
 Hi,

 the createLoginURL method for federated login with OpenID has a Set of
 Strings parameter attribuesRequest.
 The JavaDoc states the following about this parameter:

 attributesRequest - additional attributions requested for this login,
 IDP may not may not support these attributes.

 Until now I didn't require to fill this attribute to use OpenID with
 parties like Google, Yahoo etc. But I was wondering what kind of
 requests I might encounter / use here. Are there any (Java) examples
 where this parameter is used? And what does IDP mean?

 Alex

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: OpenID: What's the use of the createLoginURL attributesRequest parameter

2010-11-06 Thread dflorey
Are you using OpenID? Is logout working with app engine? I thought it
is not yet usable.
You could use additional attributes to e.g. set PAPE=0 to emulate a
proper logout

Daniel


On Nov 5, 2:00 pm, Alex alex.jong...@gmail.com wrote:
 Hi,

 the createLoginURL method for federated login with OpenID has a Set of
 Strings parameter attribuesRequest.
 The JavaDoc states the following about this parameter:

 attributesRequest - additional attributions requested for this login,
 IDP may not may not support these attributes.

 Until now I didn't require to fill this attribute to use OpenID with
 parties like Google, Yahoo etc. But I was wondering what kind of
 requests I might encounter / use here. Are there any (Java) examples
 where this parameter is used? And what does IDP mean?

 Alex

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.