summaryrefslogtreecommitdiffstats
path: root/lookup_identity.conf
diff options
context:
space:
mode:
authorJan Pazdziora <jpazdziora@redhat.com>2014-01-08 03:28:09 -0500
committerJan Pazdziora <jpazdziora@redhat.com>2014-01-08 03:28:09 -0500
commitcdaaa88a4c9b516080555aa8b9f9df65ad0b5b90 (patch)
tree8433570d0f174fb1efe0f351b70c5fc59a6e7503 /lookup_identity.conf
parent2af64d9996f64ba91cd7c9154840245868f8656a (diff)
downloadCGI-sessions-additional-attributes.tar.gz
CGI-sessions-additional-attributes.tar.xz
CGI-sessions-additional-attributes.zip
For REMOTE_USER, process other attributes as well, provided by mod_lookup_identity.additional-attributes
Diffstat (limited to 'lookup_identity.conf')
-rw-r--r--lookup_identity.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/lookup_identity.conf b/lookup_identity.conf
new file mode 100644
index 0000000..8022d07
--- /dev/null
+++ b/lookup_identity.conf
@@ -0,0 +1,10 @@
+
+LoadModule lookup_identity_module modules/mod_lookup_identity.so
+
+<LocationMatch ^/application/login>
+LookupUserAttr mail REMOTE_USER_EMAIL " "
+LookupUserAttr givenname REMOTE_USER_FIRSTNAME
+LookupUserAttr sn REMOTE_USER_LASTNAME
+LookupUserGroups REMOTE_USER_GROUPS ":"
+</LocationMatch>
+