Yes, I do have looked at README and I've noticed those directives, but look 
like they do not help, cause even inspecting network I don't have any calls 
to `/cas/serviceValidate` or `/cas/samlValidate`.
As far as I understood changing my CASValidateURL to SAML validate and 
enabling SAML should propagate some additional user details, but it does 
nothing for me. As I cannot receive even username right now.

понедельник, 12 декабря 2016 г., 19:40:09 UTC+2 пользователь morgan написал:
>
> 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 
>

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/69a42d69-d766-4331-9ee9-637310e5e745%40apereo.org.

Reply via email to