You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Sandip Parikh <sa...@silvertouch.com> on 2010/07/20 05:02:20 UTC

Activemq +Stomp +CSRF Error

Hello All,

I am using Activemq with Stomp protocol. I have client written in PHP which
wants to call Flickr API. Its sending me one Application key with search
string.

Based on that i have customized my Activemqtextmessage class which is
internailly calling Flicker API for searching photos.

But when PHP client is trying to access concurrent request it gives me below
error

java.lang.UnsupportedOperationException: Possible CSRF attack

can any please guide how can i solve this issue. 

Thanks & Regards
Sandip Parikh


-- 
View this message in context: http://old.nabble.com/Activemq-%2BStomp-%2BCSRF-Error-tp29210772p29210772.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Re: Activemq +Stomp +CSRF Error

Posted by Sandip Parikh <sa...@silvertouch.com>.
hello


As per my knowledge i am calling flickr api proper way. what i am trying is
providing same application key and trying for different search keywords.

When i am trying for 3 concurrent request i am getting this issue for 2nd or
third request and getting improper response

Regards
Sandip Parikh


Sandip Parikh wrote:
> 
> Hello All,
> 
> I am using Activemq with Stomp protocol. I have client written in PHP
> which wants to call Flickr API. Its sending me one Application key with
> search string.
> 
> Based on that i have customized my Activemqtextmessage class which is
> internailly calling Flicker API for searching photos.
> 
> But when PHP client is trying to access concurrent request it gives me
> below error
> 
> java.lang.UnsupportedOperationException: Possible CSRF attack
> 
> can any please guide how can i solve this issue. 
> 
> Thanks & Regards
> Sandip Parikh
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Activemq-%2BStomp-%2BCSRF-Error-tp29210772p29213389.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Re: Activemq +Stomp +CSRF Error

Posted by Dejan Bosanac <de...@nighttale.net>.
This exception is thrown by ActiveMQ web console, if URLs are
inappropriately called.

Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net



On Tue, Jul 20, 2010 at 5:02 AM, Sandip Parikh
<sa...@silvertouch.com> wrote:
>
> Hello All,
>
> I am using Activemq with Stomp protocol. I have client written in PHP which
> wants to call Flickr API. Its sending me one Application key with search
> string.
>
> Based on that i have customized my Activemqtextmessage class which is
> internailly calling Flicker API for searching photos.
>
> But when PHP client is trying to access concurrent request it gives me below
> error
>
> java.lang.UnsupportedOperationException: Possible CSRF attack
>
> can any please guide how can i solve this issue.
>
> Thanks & Regards
> Sandip Parikh
>
>
> --
> View this message in context: http://old.nabble.com/Activemq-%2BStomp-%2BCSRF-Error-tp29210772p29210772.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>