From 2c0555f90ecb61a068754569e2624a6569b89a2c Mon Sep 17 00:00:00 2001 From: Fabrice Bacchella <fbacchella@spamcop.net> Date: Fri, 15 May 2015 16:36:45 -0400 Subject: [PATCH] A patch that allows to extract a new user informations from the HTTP session if the webapp container can fill it. --- src/main/distrib/data/defaults.properties | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/src/main/distrib/data/defaults.properties b/src/main/distrib/data/defaults.properties index ee78c80..7be50c8 100644 --- a/src/main/distrib/data/defaults.properties +++ b/src/main/distrib/data/defaults.properties @@ -1186,7 +1186,7 @@ web.showSearchTypeSelection = false # Controls display of activity graphs on the dashboard, activity, and summary -# pages. Charting makes use of the external Google Charts API. +# pages. Charts are generated using Flotr2; an open source HTML5 library. # # SINCE 0.5.0 web.generateActivityGraph = true @@ -1610,6 +1610,22 @@ # SINCE 1.3.0 realm.container.autoCreateAccounts = false +# A set of mapping used to map HTTP session attributes to user informations +# They are used if realm.container.autoCreateAccounts is set to true and +# the webapp container used can fill the session with user informations +# +# SINCE 1.7.0 +realm.container.autoAccounts.displayName = +realm.container.autoAccounts.emailAddress = +realm.container.autoAccounts.locale = + +# If the user's created by the webapp container is given this role, +# the user created will be a admin user. +# +# SINCE 1.7.0 +realm.container.autoAccounts.adminRole = + + # Allow or prohibit Windows guest account logins # # SINCE 1.3.0 -- Gitblit v1.9.1