Re: [appengine-java] OpenID Development server

2010-10-20 Thread Fabrizio Accatino
Issue opened
http://code.google.com/p/googleappengine/issues/detail?id=3922
http://code.google.com/p/googleappengine/issues/detail?id=3922

-- 
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.



Re: [appengine-java] OpenID Development server

2010-10-16 Thread Fabrizio Accatino
I also noticed different urls generated by  userService.createLoginURL
String loginUrl = userService.createLoginURL(continueURL, null, providerUrl,
attributes);

On GAE I get URLs like this one:
http://myapp.appspot.com/_ah/login_redir?claimid=myopenid.comcontinue=http://myapp.appspot.com/myurl
It works fine. I can login with openID.

On local development server I get:
http://localhost:/_ah/login?continue=myurl
And this does not work. :(

The question remains the same: is OpenID supported by local Development
server?
Google guys, please, give me an hint...


  fabrizio



On Thu, Oct 7, 2010 at 10:46 AM, Fabrizio fht...@gmail.com wrote:

 Hello, I'm testing OpenID (SDK 1.3.7).  My env is: Eclipse + GAE Plugin.
 Question: is OpenID supported by local development server?

 I have a protected area. I force users to login with:


 security-constraint

 web-resource-collection

 url-pattern/protected/*/url-pattern

 /web-resource-collection

 auth-constraint

 role-name*/role-name

 /auth-constraint

 /security-constraint

 When I try to access the protected area from production I get correctly
 redirect to:

 http://MYAPP.appspot.com/_ah/login_required?continue=http://MYAPP.appspot.com/protected/

 But on local development server I get:
 http://localhost:/_ah/login?continue=http://localhost:/protected/


 Why?

  fabrizio




  --
 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


-- 
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] OpenID Development server

2010-10-07 Thread Fabrizio
Hello, I'm testing OpenID (SDK 1.3.7). My env is: Eclipse + GAE Plugin.
Question: is OpenID supported by local development server?


I have a protected area. I force users to login with:
security-constraint
web-resource-collection
url-pattern/protected/*/url-pattern
/web-resource-collection
auth-constraint
role-name*/role-name
/auth-constraint

/security-constraint


When I try to access the protected area from production I get correctly
redirect to:
http://MYAPP.appspot.com/_ah/login_required?continue=http://MYAPP.appspot.com/protected/



But on local development server I
get:http://localhost:/_ah/login?continue=http://localhost:/protected/




Why?


fabrizio

-- 
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.