I started with the the basic GWT/GAE project in Eclipse.  This ends up
with just the basic enter your name and then a dialog pop up.

Now if I try and put in the front end authentication in the deployment
xml file, the performance is this.  The page will load but none of the
dynamic code will be presented.  The title is there and little else
but it does not redirect to a login page.

If you manually open a login page, login and then refresh the app it
works just fine.

Here is my web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd";>
<web-app>
  <!-- Servlets -->
  <servlet>
    <servlet-name>greetServlet</servlet-name>
    <servlet-class>com.example.empGwtGae.server.GreetingServiceImpl</
servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>greetServlet</servlet-name>
    <url-pattern>/emptygwtgae/greet</url-pattern>
  </servlet-mapping>
  <!-- Default page to serve -->
  <welcome-file-list>
    <welcome-file>EmptyGwtGae.html</welcome-file>
  </welcome-file-list>
  <security-constraint>
    <web-resource-collection>
      <web-resource-name>Home</web-resource-name>
          <url-pattern>/emptygwtgae/*</url-pattern>
        </web-resource-collection>
        <auth-constraint>
          <role-name>*</role-name>
        </auth-constraint>
        <user-data-constraint>
          <transport-guarantee>CONFIDENTIAL</transport-guarantee>
        </user-data-constraint>
</security-constraint>
</web-app>

Likewise if you try and access the page with http instead of https it
only shows the html of the page and none of the dynamic members.

Thanks

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to