On Mon, 12 Dec 2016, Iurii Sergiichuk wrote:
Hi, I'd like to ask for some assistance on obtaining user information from
our frontend (raw html and js), that is hosted with tomcat behind Apache
proxy, using mod_auth_cas for handling CAS SSO authentication.
I'm using CAS 4.2.4 and SSO do really work, but I cannot understand how can
I get any user-related information from frontend ? As far as I understood
user information should be obtained from /cas/serviceValidate call, but
while using Apache mod_auth_cas I do not actually see such calls, while
after login I'm automatically redirected to Application page and if I'm not
authorized - I'd be redirected to /cas/login page.
Could anyone help me and tell what exactly I missed? I can prepare our
configurations upon request.
Iurii,
Have you looked closely at the README at:
https://github.com/Jasig/mod_auth_cas/blob/master/README
which has this:
Directive: CASValidateSAML
Default: Off
Description: If enabled, the response from the CAS Server will be parsed for
SAML
attributes which will be associated with the user.
Directive: CASAttributePrefix
Default: CAS_
Description: mod_auth_cas will add a header named
<CASAttributePrefix><attr_name>
with the value of this header being the attribute values when
SAML
validation is enabled.
Directive: CASAttributeDelimiter
Default: ,
Description: mod_auth_cas will set the value of the attribute header (as
described
in CASAttributePrefix) to
<attrvalue><CASAttributeDelimiter><attrvalue>
in the case of multiple attribute values.
Directive: CASScrubRequestHeaders
Default: Off
Description: mod_auth_cas will strip request inbound request headers that
may have
special meaning, such as those set with the CASAttributePrefix
or the
CASAuthNHeader value.
Andy