Thanks for your response.

I'm surely not logged in. And definitely not logged in with the admin
account. I have also tried it from different browsers, different
machines, and using the stealth mode.

I also tried with the url "/ds/*" but that doesn't work either.

Both urls work in the hosted mode though. Is it a bug or something?



On May 3, 11:09 pm, Robert Kluin <[email protected]> wrote:
> Hi,
>   Maybe you've already logged in before.  Have you tried clearing your
> cookies or using a different browser?
>
> Robert
>
>
>
>
>
>
>
> On Tue, May 3, 2011 at 01:21, DFB <[email protected]> wrote:
> > My GWT application is using Google Accounts authentication. I've added
> > this simplesecurityconstraintto my web.xml file:
>
> > <security-constraint>
> >    <web-resource-collection>
> >        <url-pattern>ds/*</url-pattern>
> >    </web-resource-collection>
> >    <auth-constraint>
> >        <role-name>*</role-name>
> >    </auth-constraint>
> > </security-constraint>
>
> > In the hosted mode, if I type the full path to a file inside the 'ds'
> > folder (example http://<>/ds/abc.xml), it redirects me to the login
> > page. After login, I can access the file. However, it doesn't work
> > when the app is deployed to GAE. Any user can access the file from the
> > URLhttp://myappid.appspot.com/ds/abc.xmlwithout logging in. I was
> > expecting the app to redirect me to the Google accounts login page
> > when I tried to access the file.
>
> > Am I missing something?
>
> > Thanks in advance.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google App Engine" 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 
> > athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en.

Reply via email to