From e61b3d384643863209259489c3adec381d3c4988 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 7 Apr 2016 14:23:42 +0200 Subject: [PATCH] added glassfish-specific role-group mapping and fixed URL pattern in web.xml --- web/WEB-INF/glassfish-web.xml | 18 +++++++++++------- web/WEB-INF/web.xml | 19 +++++++++++++++++++ 2 files changed, 30 insertions(+), 7 deletions(-) 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 + -- 2.39.5