If I enable XACML policy enforcement when installing Fedora 3.0, I 
always get fedora.server.errors.authorization.AuthzDeniedException when 
calling an API-M method.

I've tried both the SOAP service (from PHP):
new SoapClient('http://localhost:8080/fedora/wsdl?api=API-M', 
array('login' => 'fedoraAdmin', 'password' => 'fedoraAdmin'));
and the REST service, using either (with cURL in PHP):
curl_setopt($ch, CURLOPT_USERPWD, 'fedoraAdmin:'.'fedoraAdmin');
and/or
curl_setopt($ch, CURLOPT_HTTPHEADER, Array('Authorization: Basic 
'.base64_encode('fedoraAdmin:'.'fedoraAdmin')));
Forcing authorization through the HTTP header was previously suggested 
by Etienne Posthumus.

But the error is every time the same. On the other hand, it all works 
fine if I disable XACML policy enforcement.

Any suggestions on what I should do to overcome this error, without 
disabling policy enforcement are greatly appreciated.

Regards,
-Rudi

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to