Hello,

I am encountering a *really* weird error with CAS.

I'm explaining :

I have this page on my application :

<%@ taglib uri="http://www.yale.edu/its/tp/cas/version2"; prefix="cas" %>
<cas:auth var="netID" scope="session">
<cas:loginUrl>https://cas.XXX.fr/login</cas:loginUrl>
<cas:validateUrl>https://cas.XXX.fr/serviceValidate</cas:validateUrl>
<cas:service>https://test.XXX.fr/Login_cas.jsp</cas:service>
</cas:auth>

Most of the users don't have any problem to log in and log out but for some
of them I get this message form my application :

org.apache.jasper.JasperException: javax.servlet.ServletException:
javax.servlet.jsp.JspTagException: Server returned HTTP response code:
500 for URL: 
https://cas.XXX.fr/serviceValidate?service=https%3A%2F%2Ftest.XXX.fr%2FLogin_cas.jsp&ticket=ST-1729-iTACuTDqDqhscc0TMCjU-cas
        
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:538)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:412)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
        
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        java.lang.reflect.Method.invoke(Method.java:597)
        org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:270)
        org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:268)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:302)
        
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:163)
        java.security.AccessController.doPrivileged(Native Method)
        org.ulpmm.eev.utils.EncodingFilter.doFilter(EncodingFilter.java:31)
        sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)
        
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        java.lang.reflect.Method.invoke(Method.java:597)
        org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:270)
        org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:268)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:302)
        
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:243)


And when I try to go to
https://cas.XXX.fr/serviceValidate?service=https%3A%2F%2Ftest.XXX.fr%2FLogin_cas.jsp&ticket=ST-1729-iTACuTDqDqhscc0TMCjU-cas
I don't get any 500 error but just


<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
        <cas:authenticationFailure code='INVALID_TICKET'>
                le ticket &#039;ST-1729-iTACuTDqDqhscc0TMCjU-cas&#039; est 
inconnu
        </cas:authenticationFailure>
</cas:serviceResponse>


If everybody got the same error, I would look at my code but in this
case only a few people can't connect.


Have anybody a clue to solve that ?


Thank you in advance.

Regards


Marc

-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to