...
Numberedheadings |
---|
System PreparationTurn off SELinuxCurrently, Moonshot will not work while SELinux is in enforcing mode. Until we resolve this, simply turn SELinux to permissive mode. This can be done temporarily (i.e., on reboot it will be turned back on), or permanently (the change will persist). TemporarilyThe following command will turn Enforcing mode off: PermanentlyEdit Add the Moonshot librariesIf you have not already done so, you first need to follow the instructions on Installation InstructionsUsing the standard RedHat mod_auth_gssapi module
Using the Moonshot mod_auth_gssapi module
Configuration InstructionsPlease read Section 6.2 in Protecting a location with MoonshotUsing the standard RedHat mod_auth_gssapi moduleTo protect a particular location on your Apache server, you must configure it with an AuthType of "GSSAPI". Here's a sample configuration that can get you started. To allow anyone with a valid Moonshot account to access Using the Moonshot mod_auth_gssapi moduleTo protect a particular location on your Apache server, you must configure it with an AuthType of "Negotiate". The module-shipped To allow anyone with a valid Moonshot account to access Additionally, in an effort to provide cross-compatibility, the Moonshot mod_auth_gssapi module broadly supports the configuration directives that the RedHat mod_auth_gssapi module supports. For more information on the configuration directives supported by the RedHat mod_auth_gssapi module, see its homepage at https://github.com/modauthgssapi/mod_auth_gssapi Populating REMOTE_USERWeb services often rely on the Using the RedHat mod_auth_gssapi module To populate Using the Moonshot mod_auth_gssapi moduleTo populate Accessing Moonshot attributesUsing the RedHat mod_auth_gssapi moduleThe RedHat module has the ability to access all the attributes in the GSSAPI response, including the raw RADIUS attributes and any attributes that were transformed by the Shibboleth attribute map in the Moonshot mechanism. To access these attributes, use the This example accesses the RADIUS Using the Moonshot mod_auth_gssapi moduleThe Moonshot module can use either the Shibboleth attribute resolver library to map RADIUS and SAML attributes to internal Shibboleth attributes, and then to environment variables, or use its own internal JSON attribute resolver to map either RADIUS attributes or SAML attributes to environment variables. Read more at We are working on enhancements that allow the Moonshot module to expose attributes in the same way as the RedHat module. Testing MoonshotEither use a browser to access your protected location, or use cURL to retrieve it: HTTPS Internet Explorer compatibilityFor updated best practice with Internet Explorer connections, you should also read Microsoft's HTTPS and Keep-Alive Connections article. |