Thanks Sergey,
Could you tell how to register a custom requestFilter - I have not done that
yet..


Sergey Beryozkin-2 wrote:
> 
> Hi,
> 
> If you're referring to the fact that you can not use say a JAXRS
> QueryParam("principal.password") then yes, it's a bug which will be 
> fixed shortly...At the moment only the values are decoded (by default).
> Assuming it is the case, the workaround is to register a 
> custom RequestFilter which will replace the current Message's QUERY_STRING
> as needed for QueryParam("principal.password") (or for 
> QueryParam("")) work well . Is it something you'd consider ?
> 
> cheers Sergey
> 
>>
>> Example Flex code using HTTPService:
>> var params:Object = {};
>> params["principal.username"] = this.idUsername.text;
>> params["password"] = this.idPassword.text;
>> svcRequest.url = this.idUrl.text + "/services/v1/rest/Auth/login";
>> svcRequest.send(params);
>>
>> The above produces this HTTP request on the wire:
>>
>> GET /services/v1/rest/Auth/login?principal%2Eusername=dude&password=1234
>> HTTP/1.1
>>
>> The CXF server side expecting principal.username fails to undecode and as
>> a
>> result principal
>> object is not initialized.
>>
>> Any ideas?
>>
>> Thanks,
>> -Vitaly
>>
>> -- 
>> View this message in context: 
>> http://old.nabble.com/Adobe-Flex-HTTPService-escapes-dot-with--2e-breaking-CXF-logic-on-the-server-tp26719627p26719627.html
>> Sent from the cxf-user mailing list archive at Nabble.com.
>> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Adobe-Flex-HTTPService-escapes-dot-with--2e-breaking-CXF-logic-on-the-server-tp26719627p26728068.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to