Kevin, If you can put the app through something like the Eclipse Debugger you can set a breakpoint to grab the value. One of our open items is to add more logging into the client, we unfortunately haven't gotten there yet.
-Scott On Thu, May 29, 2008 at 11:35 PM, ktian <[EMAIL PROTECTED]> wrote: > > Hi Scott, > > I tried CAS Client for Java 3.1.2, but it still fails. The exception as > follow: > > > ---------------------------------------------------------------------------------- > exception > > javax.servlet.ServletException: org.opensaml.SAMLException: Success > > > org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:152) > > > org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:103) > > > root cause > > org.jasig.cas.client.validation.TicketValidationException: > org.opensaml.SAMLException: Success > > > org.jasig.cas.client.validation.Saml11TicketValidator.parseResponseFromServer(Saml11TicketValidator.java:93) > > > org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:165) > > > org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:129) > > > org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:103) > > > root cause > > org.opensaml.SAMLException: Success > org.opensaml.SAMLException.getInstance(Unknown Source) > org.opensaml.SAMLResponse.fromDOM(Unknown Source) > org.opensaml.SAMLResponse.<init>(Unknown Source) > > > org.jasig.cas.client.validation.Saml11TicketValidator.parseResponseFromServer(Saml11TicketValidator.java:48) > > > org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:165) > > > org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:129) > > > org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:103) > > > > --------------------------------------------------------------------------------------------- > Also do you know how to capture the XML response, which is the main thing > I'm tring to retrieve using SAML filter? I want to retrieve the CAS server > response. > > Many thanks, > > Kevin > > > > scott_battaglia wrote: > > > > Have you tried CAS Client for Java 3.1.2? If not, you can grab it from > > the > > public Maven2 repo. If that still fails, can you open a ticket (we're > > cutting RCs of CAS Client for Java 3.1.3 soon) pasting in the exception > > and > > if you can capture the XML response too. > > Thanks > > -Scott > > > > On Thu, May 29, 2008 at 9:48 PM, ktian <[EMAIL PROTECTED]> wrote: > > > >> > >> Hi, > >> > >> I have : > >> CAS Client version 3.1 > >> CAS Server version 3.2 > >> Server tomcat : 5.5.26 > >> > >> I've tried to get Saml11TicketValidationFilter working to retrieve > server > >> response, but I got Exception when CAS server returned a ticket: > >> > >> java.lang.NumberFormatException: For input string: "" > >> > >> > >> > java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) > >> java.lang.Integer.parseInt(Integer.java:468) > >> java.lang.Integer.parseInt(Integer.java:497) > >> org.opensaml.SAMLResponse.fromDOM(Unknown Source) > >> org.opensaml.SAMLResponse.<init>(Unknown Source) > >> > >> > >> > org.jasig.cas.client.validation.Saml11TicketValidator.parseResponseFromServer(Saml11TicketValidator.java:46) > >> > >> > >> > org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:165) > >> > >> > >> > org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:129) > >> > >> > >> > org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:103) > >> > >> does anyone know how to solve this issue? > >> > >> Many Thanks, > >> > >> Kevin > >> > >> > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/retrieve-server-response-issue-tp17548571p17548571.html > >> Sent from the CAS Users mailing list archive at Nabble.com. > >> > >> _______________________________________________ > >> Yale CAS mailing list > >> [email protected] > >> http://tp.its.yale.edu/mailman/listinfo/cas > >> > > > > > > > > -- > > -Scott Battaglia > > PGP Public Key Id: 0x383733AA > > LinkedIn: http://www.linkedin.com/in/scottbattaglia > > > > _______________________________________________ > > Yale CAS mailing list > > [email protected] > > http://tp.its.yale.edu/mailman/listinfo/cas > > > > > > -- > View this message in context: > http://www.nabble.com/retrieve-server-response-issue-tp17548571p17550984.html > Sent from the CAS Users mailing list archive at Nabble.com. > > _______________________________________________ > Yale CAS mailing list > [email protected] > http://tp.its.yale.edu/mailman/listinfo/cas > -- -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
