[OTDev] A&A clarifications

surajit ray mr.surajit.ray at gmail.com
Wed Mar 9 14:18:30 CET 2011


Hi,

on doing a

 curl -i -X GET -H
"subjectid:AQIC5wM2LY4SfcyH9ELyynby356aOvAkimDZeEz2wzWTSX4=@AAJTSQACMDE=#"
http://opensso.in-silico.ch/Pol/opensso-pol/allow_ambit_dataset_access_for_maxtox

to list my policy i got

HTTP/1.0 404 Not Found
Server: nginx/0.6.32
Date: Wed, 09 Mar 2011 13:17:24 GMT
Content-Type: text/html;charset=utf-8
Proxy-Connection: keep-alive
Content-Length: 952

<html><head><title>Apache Tomcat/6.0.26 - Error
report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color :
#525D76;}--></style> </head><body><h1>HTTP Status 404 - </h1><HR
size="1" noshade="noshade"><p><b>type</b> Status
report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The
requested resource () is not available.</u></p><HR size="1"
noshade="noshade"><h3>Apache Tomcat/6.0.26</h3></body></html>

Regards
Surajit

On 9 March 2011 18:43, Andreas Maunz <andreas at maunz.de> wrote:
> 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
>



-- 
Surajit Ray
Partner
www.rareindianart.com



More information about the Development mailing list