Hi,
I do not want to force an open door.

Reffering to article:
http://opencast.jira.com/wiki/display/MH/Remote+Services
With MH 1.1. I used:

curl -I -H "X-Requested-Auth: Digest" --digest -uadmin:opencast URL

worked well with 1.1.
With 1.2. it fails with HTTP/1.1 401 Incorrect response.

I am trying two requests:
curl -I -H "X-Requested-Auth: Digest" --digest -uadmin:opencast 
http://mhserver:8080/welcome.html

and:
curl -H "X-Requested-Auth: Digest" --digest -uadmin:opencast 
http://mhserver:8080/info/me.json


and getting:
For MH1.1:
welcome.html

For MH1.2:
HTTP/1.1 401 Full authentication is required to access this resource
HTTP/1.1 401 Incorrect response


and:
For MH1.1:
{"username":"admin","roles":["ROLE_ADMIN","ROLE_USER"]}


For MH1.2:
{"username":"mh_anonymous","roles":["anonymous"],"org":{"id":"mh_default_org","anonymousRole":"anonymous","name":"Opencast
 
Project","adminRole":"ROLE_ADMIN","properties":{"logo_small":"\/img\/OpencastLogo.png","logo_large":"\/img\/MatterhornLogo_large.png"}}}


--
This must be something obvious about $FELIX/conf/security.xml or 
$FELIX/conf/security/mh_default_org.xml


-Pawel



_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to