On Fri, Oct 25, 2019, 05:45 Alberto Cabello Sánchez <albe...@unex.es> wrote:

> On Thu, 24 Oct 2019 16:12:58 -0400
> David Hawes <dha...@vt.edu> wrote:
>
> > What version of mod_auth_cas are you using?
>
> Sorry, I didn't included it in my question:
>
> mod_auth_cas is 1.2, freshly cloned from
> https://github.com/apereo/mod_auth_cas.git
> CAS server is 5.3.12.1.
>
> > v1.2 supports CASv2 attributes, which should work with /serviceValidate
> > provided your server supports it.
> >
> > Turn "CASDebug On" and you should be able to see the validation
> > response with the attributes returned from your server. With
> > CASAuthnHeader set to some attribute like you've done, the released
> > attributes should be in the HTTP headers.
>
> This is the CAS info logged in Tomcat
>
> INFO [org.apereo.cas.authentication.PolicyBasedAuthenticationManager] -
> <Authenticated principal [alberto] with attributes [{cn=[alberto],
> givenName=[alberto], irisPersonalUniqueID=[DOC:12345678R], mail=[
> albe...@unex.es], sn=[cabello sánchez], sn1=[cabello], sn2=[sánchez],
> uid=[alberto]}] via credentials
> [[UsernamePasswordCredential(username=alberto)]].>
>
> I can't find any reference to headers in Apache 2 logs, except
>
> Adding outgoing header: Set-Cookie:
> MOD_AUTH_CAS_S=6c60*******************d099;Secure;Path=/examples/jsp/;
> HttpOnly, referer: <CAS_URL>/login?service=<SERVICE_URL>
>
> I guess I will add some printf() statements in mod_auth_cas to gather more
> info, and explore the SAML approach.
>

Not necessary. Set "LogLevel debug" and "CASDebug On". Search for
"Validation response" in the Apache logs.

>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAAgu-wDtuobnoaUsmqXtO-nL5E3uoA_%2BtQHi083hY8ViXbiehA%40mail.gmail.com.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to