diff options
author | Simo Sorce <simo@redhat.com> | 2015-11-30 17:53:42 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-12-03 13:30:09 -0500 |
commit | 7f11db955b8440668fc806b4203f584bb44f58c1 (patch) | |
tree | 0abe923f6c0e00f5ef838df35ede4589fb2356c2 /README | |
parent | 472d605d916f7ad63cd8bbffa100997eca700da4 (diff) | |
download | mod_auth_gssapi-name_attrs.tar.gz mod_auth_gssapi-name_attrs.tar.xz mod_auth_gssapi-name_attrs.zip |
Add code to set attribute names in the environmentname_attrs
This code allows to specify which attributes in a name are interesting
to the application and set them as named environemnt variables.
Optionally the whole set of attributes can be exported in a json
formatted structure.
Signed-off-by: Simo Sorce <simo@redhat.com>
Close #62
Close #63
Diffstat (limited to 'README')
-rw-r--r-- | README | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -237,3 +237,30 @@ The recognized mechanism names are: krb5, iakerb, ntlmssp #### Example GssapiBasicAuthMech krb5 + + +#### GssapiNameAttributes + +Enables the module to source Name Attributes from the client name +(authorization data associated with the established context) and exposes them +as environment variables. + +Value format: ENV_VAR_NAME ATTRIBUTE_NAME + +This option can be specified multiple times, once for each attribute to expose. +The Special value "json" is used to expose all attributes in a json formatted +string via the special environment variable GSS_NAME_ATTRS_JSON +The environment variable GSS_NAME_ATTR_ERROR is set with the Gssapi returned +error string in case the inquire name function fails to retrieve attributes, +and with the string "0 attributes found", if no attributes are set. + +Note: These variables are NOT saved in the session data stored in the cookie so they +are available only on the first authenticated request when GssapiUseSessions is +used. + +Note: It is recommended but not required to use only capital letters and underscores +for environment variable names. + +#### Example + GssapiNameAttributes json + GssapiNameAttributes RADIUS_NAME urn:ietf:params:gss:radius-attribute_1 |