From c44b2aaf9626046dbbe1f629776923304d9a2534 Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Tue, 6 Oct 2020 15:33:27 +0300 Subject: [PATCH] Add missing authority properties; add header note Signed-off-by: Pekka Helenius --- .../main/resources/authentication.properties | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/bookstore/src/main/resources/authentication.properties b/bookstore/src/main/resources/authentication.properties index 2bbc77e..c0af4e5 100644 --- a/bookstore/src/main/resources/authentication.properties +++ b/bookstore/src/main/resources/authentication.properties @@ -1,4 +1,21 @@ # Pekka Helenius , Fjordtek 2020 +# NOTE: +# These properties represent internal application properties, +# NOT linguistic front-end message strings. Never refer to keys +# in this file in your application front-end messages. +# These keys are accessible in Spring Environment context. + + + +# Login form authentication fields +# auth.field.username = b_username -auth.field.password = b_password \ No newline at end of file +auth.field.password = b_password + +# User roles (authorities) +# +auth.authority.admin = ADMIN +auth.authority.helpdesk = HELPDESK +auth.authority.sales = MARKETING +auth.authority.user = USER \ No newline at end of file