From: Roland Haeder Date: Thu, 7 Apr 2016 12:23:42 +0000 (+0200) Subject: added glassfish-specific role-group mapping and fixed URL pattern in web.xml X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e61b3d384643863209259489c3adec381d3c4988;p=pizzaservice-war.git added glassfish-specific role-group mapping and fixed URL pattern in web.xml --- diff --git a/web/WEB-INF/glassfish-web.xml b/web/WEB-INF/glassfish-web.xml index eaf64487..84ad3135 100644 --- a/web/WEB-INF/glassfish-web.xml +++ b/web/WEB-INF/glassfish-web.xml @@ -1,11 +1,15 @@ - /PizzaService-war - - - - Keep a copy of the generated servlet class' java code. - - + /PizzaService-war + + admin + admin + + + + + Keep a copy of the generated servlet class' java code. + + diff --git a/web/WEB-INF/web.xml b/web/WEB-INF/web.xml index 1cc23f32..02340ff6 100644 --- a/web/WEB-INF/web.xml +++ b/web/WEB-INF/web.xml @@ -36,4 +36,23 @@ faces/index.xhtml + + Constraint1 + + admin + Administrative Area + /faces/admin/* + + + Administrative Area Login + + + + BASIC + file + + + Administrative role + admin +