Hi there, I've never seen the "error.authentication.credentials.unsupported" message before.
I get "error.authentication.credentials.bad" if I enter incorrect credentials. Are you sure the credentials are the same as the ones you enter using the logon page? Sorry I can't be of more help Cheers, John From: "Pietro" <[email protected]> To: [email protected] Date: 09/09/2011 16:51 Subject: Re:[cas-user] CAS 3.4.8 and RESTFul API issue Hi, The 400 error occurs in the method: private static String getTicketGrantingTicket(final String server, final String username, final String password) in the Response from server: final String response = post.getResponseBodyAsString(); The Log is: <LOG> 9-set-2011 17.39.03 rest.test.Client getTicketGrantingTicket Invalid response code (400) from CAS server! 9-set-2011 17.39.07 rest.test.Client getTicketGrantingTicket INFO: Response (1k): <html> <head> <title>Status page</title> </head> <body> <h3>error.authentication.credentials.unsupported</h3><p>You can get technical details <a href=" http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1 ">here</a>.<br> Please continue your visit at our <a href="/">home page</a>. </p> </body> </html> </LOG> (final String server = " http://webserver:8888/cas-server-webapp-3.4.8-NEW/v1/tickets/"; final String username = "myuser"; final String password = "mypassword"; ) -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
