Implemented support for exporting GSS NAME attributes as environment variables.
[mod_auth_kerb.git] / README_name_attr
1 #### GssapiNameAttributes
2
3 Enables the module to source Name Attributes from the client name
4 (authorization data associated with the established context) and exposes them
5 as environment variables.
6
7 Value format: ENV_VAR_NAME ATTRIBUTE_NAME
8
9 This option can be specified multiple times, once for each attribute to expose.
10 The Special value "json" is used to expose all attributes in a json formatted
11 string via the special environment variable GSS_NAME_ATTRS_JSON
12 The environment variable GSS_NAME_ATTR_ERROR is set with the Gssapi returned
13 error string in case the inquire name function fails to retrieve attributes,
14 and with the string "0 attributes found", if no attributes are set.
15
16 #### Example
17     GssapiNameAttributes json
18     GssapiNameAttributes RADIUS_USER_NAME urn:ietf:params:gss:radius-attribute 1
19     GssapiNameAttributes EPPN urn:ietf:params:gss:federated-saml-attribute urn:oasis:names:tc:SAML:2.0:attrname-format:uri urn:oid:1.3.6.1.4.1.5923.1.1.1.6
20