Additional information:

I just deployed the exact same app to my "vanilla" app engine account,
i.e. the same app engine that everyone can sign up and use, and *NOT*
my Google Apps Premiere Edition app engine account associated with my
domain name.

When I load "admin.html" here, I get redirected for authentication,
and I authenticate with my @gmail.com id (the same id I used to upload
the app to app engine), and I am returned to my admin.html page, and I
can see it just fine.

I suspect this must be a bug affecting those using App Engine with
their Google Apps accounts.

Can someone confirm?

-broc


On Aug 30, 11:08 am, "broc.seib" <[email protected]> wrote:
> I have a page "admin.html" setup with a security restraint for
> "admin", which looks like this in my web.xml:
>
>     <security-constraint>
>         <web-resource-collection>
>             <url-pattern>/admin.html</url-pattern>
>         </web-resource-collection>
>         <auth-constraint>
>             <role-name>admin</role-name>
>         </auth-constraint>
>     </security-constraint>
>
> The documentation says, "If the constraint specifies a user role of
> admin, then only registered developers (administrators) of the
> application can access the URL".  (this is 
> fromhttp://code.google.com/appengine/docs/java/config/webxml.html#Securit...)
>
> I have Google Apps Premiere Edition for my domain, and I can
> successfully deploy my application to AppEngine directly from eclipse
> with my administrator account, e.g. "[email protected]". The app
> runs fine too, e.g. at "my-app-name.appspot.com".
>
> When I visit my admin.html page at "my-app-name.appspot.com/
> admin.html", I am asked to log in -- so I log in with
> "[email protected]", and I get redirected back to the admin.html
> page, which gives me the forbidden message "Error: Forbidden Your
> client does not have permission to get URL /admin.html from this
> server."
>
> I do not understand why this is not working as documented. Surely I
> must be misunderstanding something.
>
> Any pointers?

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