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-name>LoadEventAPI</servlet-name>
 <servlet-class>...api.LoadEventServlet</servlet-class>
</servlet>
<servlet-mapping>
 <servlet-name>LoadEventAPI</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-guarantee>CONFIDENTIAL</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.

Reply via email to