[OTDev] A&A clarifications

Andreas Maunz andreas at maunz.de
Wed Mar 9 14:13:52 CET 2011


Hi Surajit,

surajit ray wrote on 03/09/2011 02:07 PM:
> Hi,
>
> the command
>
> curl -i -H "Content-Type: application/xml" -T /home/maxtox/maxtox.pol
> -X POST http://opensso.in-silico.ch/Pol/opensso-pol -H
> "subjectid:AQIC5wM2LY4SfcyH9ELyynby356aOvAkimDZeEz2wzWTSX4=@AAJTSQACMDE=#"
>
> to create a policy returns
>
> HTTP/1.0 500 Internal Server Error
> Server: nginx/0.6.32
> Date: Wed, 09 Mar 2011 13:02:39 GMT
> Content-Type: text/plain
> Proxy-Connection: keep-alive
> Content-Length: 44
>
> IOException. Please contact administrator.

Indeed, something has gone wrong with this specific request.

> I was expecting that it did not create the policy since I did not 200
> OK. However when I ran the same again I got
>
> HTTP/1.0 400 Bad Request
> Server: nginx/0.6.32
> Date: Wed, 09 Mar 2011 13:04:26 GMT
> Content-Type: text/plain
> Proxy-Connection: keep-alive
> Content-Length: 111
>
> OpenSSOPolicy allow_ambit_dataset_access_for_maxtox already exists in
> organization dc=opensso,dc=java,dc=net.
>
>
> which means it created the policy. Therefore it should have given a
> 200 OK before. Or is this policy invalid ?

Can you query the policy 'allow_ambit_dataset_access_for_maxtox' and/ or 
delete it?

Andreas



More information about the Development mailing list