From 35aae895ce49f86408916b267cb8920e0ed07edf Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 7 Apr 2016 14:22:04 +0200 Subject: [PATCH] added glassfish-specific role-group mapping and fixed URL pattern in web.xml --- .../localization/bundle_en_US.properties | 4 +-- web/WEB-INF/glassfish-web.xml | 18 ++++++----- web/WEB-INF/web.xml | 30 ++++--------------- 3 files changed, 18 insertions(+), 34 deletions(-) diff --git a/src/java/org/mxchange/localization/bundle_en_US.properties b/src/java/org/mxchange/localization/bundle_en_US.properties index 8d5ddbc9..b0faf968 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -102,8 +102,8 @@ LINK_GUEST_PRIVACY=Privacy LINK_GUEST_IMPRINT_TITLE=Go to imprint page LINK_GUEST_TERMS_TITLE=View terms & conditions LINK_GUEST_PRIVACY_TITLE=View privacy statement -MENU_USER_TITLE=User -ENTER_USER_NAME=User name: +MENU_USER_TITLE=Agent +ENTER_USER_NAME=Agent name: BUTTON_USER_LOGIN=Login BUTTON_CONTINUE_STEP_2=Continue to step 2 GUEST_REGISTRATION_ENTER_USER_NAME=Enter user name: diff --git a/web/WEB-INF/glassfish-web.xml b/web/WEB-INF/glassfish-web.xml index b70617b4..b56fd7b2 100644 --- a/web/WEB-INF/glassfish-web.xml +++ b/web/WEB-INF/glassfish-web.xml @@ -1,11 +1,15 @@ - /addressbook-war - - - - Keep a copy of the generated servlet class' java code. - - + /addressbook-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 63b7ef9b..0122fc6e 100644 --- a/web/WEB-INF/web.xml +++ b/web/WEB-INF/web.xml @@ -26,46 +26,26 @@ faces/index.xhtml - - LoginConstraint - - loginArea - Login area - /llogin/* - - - User Authentication - user - - AdminConstraint admin Administrative area - /admin/* + /faces/admin/* Admin authentication admin - - FORM - Loginbereich / Login area - - /user/login.xhtml - /user/login_error.xhtml - - - - A logged-in user that has previously registered himself/herself. - user - tpl text/plain + + BASIC + file + Administrativre rule admin -- 2.39.5