I think you're missing the security constraint on the page in web.xml
<security-constraint>
<web-resource-collection>
<url-pattern>/adminboard</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>admin</role-name>
</auth-constraint>
</security-constraint>
Custom console pages are, for what I understand, nothing more than a
handy way to access your administrator-only pages from the admin
console, instead of manually browsing to them.
Regards
Lorenzo
On Jun 22, 4:05 pm, WillNa <[email protected]> wrote:
> Hello,
>
> I'm trying to add an admin page to the admin console,
> followinghttp://code.google.com/appengine/docs/java/config/appconfig.html#Admi...
>
> Unfortunatly, whatever I try, nothing more is visible on /_ah/admin
>
> This is what I added to my appengine-web
> <admin-console>
> <page name="Create a board" url="/adminboard" />
> </admin-console>
>
> and what I added to web.xml
> <servlet>
> <servlet-name>adminboard</servlet-name>
> <jsp-file>/admin_board.jsp</jsp-file>
> </servlet>
>
> <servlet-mapping>
> <servlet-name>adminboard</servlet-name>
> <url-pattern>/adminboard</url-pattern>
> </servlet-mapping>
>
> Am I missing something ?!
>
> Thanks for any hint
>
> William
--
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.