Thank you.

I can not find any other exception, and my team leader required me to turn
back to client 3.0 now.

And could you do me a favor to tell me how to config log4j as you said "open
DEBUG"?

Is that write the "log4j.properties" file to config Log4j and copy it to
WEB/classes?

Thanks a lot.

On Wed, Jul 9, 2008 at 10:01 PM, <[EMAIL PROTECTED]> wrote:

>
> Message: 5
> Date: Wed, 9 Jul 2008 10:01:17 -0400
> From: "Scott Battaglia" <[EMAIL PROTECTED]>
> Subject: Re: TicketCreationException
>        error.authentication.credentials.bad
> To: "Yale CAS mailing list" <[email protected]>
> Message-ID:
>        <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="gb2312"
>
> Most likely it didn't like your receptor endpoint.  There should be an
> additional error.  If not, you can turn on DEBUG in the log4j.properties
> and
> it should provide more details.
>
> -Scott
>
> -Scott Battaglia
> PGP Public Key Id: 0x383733AA
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
>
> 2008/7/9 ???? <[EMAIL PROTECTED]>:
>
> > Hi, everybody
> >
> > I try to integrate CAS to my application. But I do not know the exactly
> > meaning of "proxyCallbackUrl" and "proxyReceptorUrl".
> >
> > After reading some documents,  comparing with JA-SIG-client 3.0 client
> > source code, it has removed an imporant class named
> > "SpringConfiguredProxyReceptorServlet" in 3.1, which make me more
> consused
> > about how to receive PGTIOU and PGT now.  And I just followed the what is
> > said on
> >
> http://www.ja-sig.org/wiki/display/CASC/Configuring+the+JA-SIG+CAS+Client+for+Java+in+the+web.xml
> .
> > Disappointingly, I could not get through by using Proxy after sever days
> > studying, and I still got the disguting exception.
> >
> > Here is the piece of what I write in web.xml
> >
> > <filter-name>CAS Validation Filter</filter-name>
> >
> >
> <filter-class>org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter</filter-class>
> >   <init-param>
> >     <param-name>casServerUrlPrefix</param-name>
> >     <param-value>https://www.test.com:443/cas-server</param-value>
> >   </init-param>
> >   <init-param>
> >     <param-name>serverName</param-name>
> >     <param-value>http://www.test.com:8080</param-value>
> >   </init-param>
> >   <init-param>
> >     <param-name>proxyReceptorUrl</param-name>
> >     <param-value>/proxyReceptor</param-value>
> >   </init-param>
> >   <init-param>
> >     <param-name>proxyCallbackUrl</param-name>
> >     <param-value>https://www.test.com/partner4/proxyReceptor
> </param-value>
> >   </init-param>
> >
> > Could you help me, thank you.
> >
> >
> >
> >
> =======================================================================================
> > 2008-07-09 16:43:35,657 INFO
> > [org.jasig.cas.authentication.AuthenticationManagerImpl] -
> > <AuthenticationHandler:
> >
> org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler
> > failed to authenticate the user which provided the following credentials:
> > https://www.test.com/partner4/proxyReceptor>
> >
> > 2008-07-09 16:43:35,661 ERROR
> [org.jasig.cas.web.ServiceValidateController]
> > - <TicketException generating ticket for:
> > https://www.test.com/partner4/proxyReceptor>
> > org.jasig.cas.ticket.TicketCreationException:
> > error.authentication.credentials.bad
> >         at
> >
> org.jasig.cas.CentralAuthenticationServiceImpl.delegateTicketGrantingTicket(CentralAuthenticationServiceImpl.java:294)
> >         at
> >
> org.jasig.cas.web.ServiceValidateController.handleRequestInternal(ServiceValidateController.java:126)
> >         at
> >
> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
> >         at
> >
> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
> >         at
> >
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
> >         at
> >
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
> >         at
> >
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
> >         at
> >
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431)
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> >         at
> >
> org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:115)
> >         at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> >         at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >         at
> >
> org.inspektr.common.web.ClientInfoThreadLocalFilter.doFilterInternal(ClientInfoThreadLocalFilter.java:48)
> >         at
> >
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
> >         at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >         at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >         at
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> >         at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> >         at
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> >         at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
> >         at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> >         at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
> >         at
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> >         at
> >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
> >         at
> > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> >         at java.lang.Thread.run(Thread.java:595)
> > Caused by: error.authentication.credentials.bad
> >         at
> >
> org.jasig.cas.authentication.handler.BadCredentialsAuthenticationException.<clinit>(BadCredentialsAuthenticationException.java:25)
> >         at
> >
> org.jasig.cas.authentication.AuthenticationManagerImpl.authenticate(AuthenticationManagerImpl.java:113)
> >         at
> >
> org.jasig.cas.CentralAuthenticationServiceImpl.delegateTicketGrantingTicket(CentralAuthenticationServiceImpl.java:265)
> >         ... 26 more
> >
> > --
> > Thank you & Best Regards
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > Jin Jian(????)
> > Engineering Research Center for Information Security Technology
> > Institute of software, Chinese academy of Sciences
> > E-mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
> > 5/F No.5 Building, Institute of Software Chinese Academy of Sciences, 4#
> > South Fourth Street, Zhong Guan Cun, Beijing 100080, P.R. China
> > _______________________________________________
> > Yale CAS mailing list
> > [email protected]
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://tp.its.yale.edu/pipermail/cas/attachments/20080709/a4545f47/attachment.html
>
> ------------------------------
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
> End of cas Digest, Vol 62, Issue 10
> ***********************************
>



-- 
Thank you & Best Regards
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jin Jian(靳健)
Engineering Research Center for Information Security Technology
Institute of software, Chinese academy of Sciences
E-mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
5/F No.5 Building, Institute of Software Chinese Academy of Sciences, 4#
South Fourth Street, Zhong Guan Cun, Beijing 100080, P.R. China
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to