CAS 5.2 ST errors

36 views
Skip to first unread message

vallee.romain

unread,
Dec 7, 2017, 3:22:39 PM12/7/17
to CAS Community
hello users,
i need help !!!
i prepare a 5.2 cas with apache php client test its working well


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!!

Jeffrey Ramsay

unread,
Dec 7, 2017, 3:25:32 PM12/7/17
to CAS Community
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

--
- 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+unsubscribe@apereo.org.
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.

vallee.romain

unread,
Dec 7, 2017, 3:37:24 PM12/7/17
to CAS Community
Thanks you Jeff for your answer.
I try toMorrow, i spend so many Time on jasig this week.
I turn off the pc and i'm going to do jasig dream!!!

And thanks you again

Jeffrey Ramsay

unread,
Dec 7, 2017, 4:06:52 PM12/7/17
to CAS Community
I know the feeling :)

Good luck.

--
- 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+unsubscribe@apereo.org.

vallee.romain

unread,
Dec 8, 2017, 2:09:04 AM12/8/17
to CAS Community
the error from my test plateform !!
i can't have 2 cas server with the same name !




Le jeudi 7 décembre 2017 22:06:52 UTC+1, Jeffrey Ramsay a écrit :
I know the feeling :)

Good luck.
On Thu, Dec 7, 2017 at 3:37 PM, vallee.romain <vallee...@gmail.com> wrote:
Thanks you Jeff for your answer.
I try toMorrow, i spend so many Time on jasig this week.
I turn off the pc and i'm going to do jasig dream!!!

And thanks you again

--
- 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+u...@apereo.org.
Reply all
Reply to author
Forward
0 new messages