The same question... For now I've created a second page that redirects user 
if he has an admin role. Otherwise there is a link to logout and login 
again as admin user.

On Saturday, June 1, 2013 12:45:49 AM UTC+4, Aidan Mack wrote:
>
> <security-constraint>
>         <web-resource-collection>
>             <url-pattern>/admin/*</url-pattern>
>         </web-resource-collection>
>         <auth-constraint>
>             <role-name>admin</role-name>
>         </auth-constraint>
>     </security-constraint>
>
>
> Hi im using the above security restraint to stop none admin. 
> If a none admin trys to access a page I get a 
> HTTP ERROR 403 error
>
> User not in required role
>
>
> Instead of this how do I redirect back to my home page?
>
>
> Thanks
>
> Aidan
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to