Hi Marvin,
I am still having problems, made following changes
1. Installed SSL
2. Changed install folder from from /api to /cas, default login form is on
https://localhost:8443/cas/login
3. When i try logging in from browser, everything works
4. When i try using RESTful, i get redirected
to https://localhost:8443/cas/login
* request (String, 208 characters ) POST /cas/login HTTP/1.0
Content-Type: applica...
* data (String, 5673 characters ) <!DOCTYPE html PUBLIC "-//W3C//DTD
XHTML...
* protocol (String, 8 characters ) HTTP/1.1
* status_message (String, 2 characters ) OK
* headers (Array, 9 elements)
* server (String, 17 characters ) Apache-Coyote/1.1
* pragma (String, 8 characters ) no-cache
* expires (String, 29 characters ) Thu, 01 Jan 1970 00:00:00 GMT
* cache-control (String, 8 characters ) no-store
* set-cookie (String, 62
characters ) JSESSIONID=C51FEA7555E498509D3E90CB3CBD9A86; Pa...
* content-type (String, 23 characters ) text/html;charset=UTF-8
* content-length (String, 4 characters ) 5673
* date (String, 29 characters ) Wed, 14 Sep 2011 21:00:46 GMT
* connection (String, 5 characters ) close
* code (String, 3 characters ) 200
* redirect_code (String, 3 characters ) 302
* redirect_url (String, 32 characters ) https://localhost:8443/cas/login
Thanks for your help with this.
warm regards,
-Ravi
________________________________
From: Marvin Addison <[email protected]>
To: [email protected]
Sent: Wednesday, September 14, 2011 6:29 PM
Subject: Re: [cas-dev] RESTful & TGT
> Now when i make a RESTful post to http://localhost:8080/api/v1/tickets with
> username and password,
all i get back from CAS is a "200 OK"
I believe the problem is that you're not running over SSL. Please do
the SSL setup, try again, and report back in any case. If it turns
out that resolves the problem, we need to improve the response in that
case to indicate the underlying problem. A 200 response is unhelpful
at best.
M
--
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-dev
--
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-dev