[appengine-java] HTTPS on App Engine

2010-08-26 Thread Jochen Schnaidt
Hi all,
I have a question about using https on app engine. I defined a API to
use services of my application from an external point.
To make sure that communication is secure via https, I made the
following changes in the web.xml

servlet
 servlet-nameLoadEventAPI/servlet-name
 servlet-class...api.LoadEventServlet/servlet-class
/servlet
servlet-mapping
 servlet-nameLoadEventAPI/servlet-name
 url-pattern/load/url-pattern
/servlet-mapping

security-constraint
 web-resource-collection
  url-pattern/load/url-pattern
 /web-resource-collection
 user-data-constraint
  transport-guaranteeCONFIDENTIAL/transport-guarantee
 /user-data-constraint
/security-constraint

I tried it but a call via http is still possible and wil not be
automatically redirected to the https protocol. Also Eclipse doesn't
like the url-pattern in web-resource-collection and marks it as
error.

Any ideas, what I do wrong? Thanks a lot.

-- 
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] HTTPS on App Engine

2010-08-26 Thread Shawn Brown

 I tried it but a call via http is still possible and wil not be
 automatically redirected to the https protocol.

Are you using *.appspot.com?  It doesn't work for a custom domain, does it?

Also Eclipse doesn't
 like the url-pattern in web-resource-collection and marks it as
 error.

adding  web-resource-nameasdf/web-resource-name  resolved that for me

 security-constraint
  web-resource-collection
 web-resource-nameasdf/web-resource-name
  url-pattern/load/url-pattern
  /web-resource-collection
  user-data-constraint
  transport-guaranteeCONFIDENTIAL/transport-guarantee
  /user-data-constraint
 /security-constraint

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