Try switching these:

//phpCAS::client(SAML_VERSION_1_1, $cas_host, $cas_port, $cas_context);
phpCAS::client(CAS_VERSION_3_0, $cas_host, $cas_port, $cas_context);

-Jeff

On Thu, Dec 7, 2017 at 3:22 PM, vallee.romain <[email protected]>
wrote:

> hello users,
> i need help !!!
> i prepare a 5.2 cas with apache php client test its working well
>
>
> <https://lh3.googleusercontent.com/-nHU8vaAabMY/Wimicu0Fl9I/AAAAAAAAlpc/ZHjZXkhjamcHEQEfkvwd1Jzo7LGS4pTLwCLcBGAs/s1600/Capture1.PNG>
>
>
> But, when i use a real application, i got this error :
>
> org.pac4j.core.exception.TechnicalException: cannot validate CAS ticket: 
> ST-1-kVX-MDuam-viJYOoV8leCNh5KI8-cas
>         at 
> org.pac4j.cas.credentials.authenticator.CasAuthenticator.validate(CasAuthenticator.java:92)
>         at 
> org.pac4j.cas.client.direct.DirectCasClient.retrieveCredentials(DirectCasClient.java:67)
>         at 
> org.pac4j.cas.client.direct.DirectCasClient.retrieveCredentials(DirectCasClient.java:36)
>         at 
> org.pac4j.core.client.DirectClient.getCredentials(DirectClient.java:44)
>         at 
> org.pac4j.core.engine.DefaultSecurityLogic.perform(DefaultSecurityLogic.java:111)
>         at 
> org.pac4j.springframework.web.SecurityInterceptor.preHandle(SecurityInterceptor.java:65)
>         at 
> org.pac4j.springframework.web.SecurityInterceptor$$FastClassBySpringCGLIB$$efdcf9fe.invoke(<generated>)
>         at 
> org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
>         at 
> org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
>         at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
>         at 
> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
>         at 
> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
>
>
> i find nothing on this forum bout this error .
>
> Thank you very much!!
>
> --
> - 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 [email protected].
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/6d2df6f0-5398-4fbd-ba6e-
> 42a37e0af72a%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/6d2df6f0-5398-4fbd-ba6e-42a37e0af72a%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2BTBYORq%2Bsz5yk4iZpCVhfXB24UzfuL3pYvOiVAJxzNospEw8w%40mail.gmail.com.

Reply via email to