[OTDev] A&A clarifications

surajit ray mr.surajit.ray at gmail.com
Wed Mar 9 14:00:42 CET 2011


Hi Andreas,

Documentation at
http://opentox.org/dev/documentation/Guidance%20on%20Using%20AA#example-session-policies

incorrectly states that the subjectid should be URL encoded. The command

curl -i -X GET http://opensso.in-silico.ch/Pol/opensso-pol -H
"subjectid:AQIC5wM2LY4SfcyH9ELyynby356aOvAkimDZeEz2wzWTSX4%3D%40AAJTSQACMDE%3D%23"

returns .......

HTTP/1.0 400 Bad Request
Server: nginx/0.6.32
Date: Wed, 09 Mar 2011 12:57:15 GMT
Content-Type: text/plain
Proxy-Connection: keep-alive
Content-Length: 59

Token could not be resolved to a user id. Token expired?.



While the same without url encoding
curl -i -X GET http://opensso.in-silico.ch/Pol/opensso-pol -H
"subjectid:AQIC5wM2LY4SfcyH9ELyynby356aOvAkimDZeEz2wzWTSX4=@AAJTSQACMDE=#"

returns


HTTP/1.0 200 OK
Server: nginx/0.6.32
Date: Wed, 09 Mar 2011 12:57:22 GMT
Content-Type: text/plain
Proxy-Connection: keep-alive
Content-Length: 1



Could you please change the same on the documentation page ?

Regards
Surajit



On 8 March 2011 19:07, Andreas Maunz <andreas at maunz.de> wrote:
> surajit ray wrote on 03/08/2011 02:23 PM:
>>
>> Could you please clarify these inconsistencies (if the cannot be
>> changed) in the help document ?
>
> Definitely, I'll make the point more explicit.
>
> Andreas
>



More information about the Development mailing list