kannanMugundan
Aug 12th, 2009, 07:58 AM
Hi,
For my spring Blazeds project, to do some testing, I am using flex.messaging.io.amf.client.AMFConnection class.
I am able to connect and call remote methods.
But I am not sure how to invoke remote method if my channel is made secured. I am using spring Security.
Can any one please tell how to get an authentication object or session id and send it back while i make the remote calls.
I get the below error when my channel is secured, which explains the reason for failure.
message: flex.messaging.MessageException: Unable to create a new instance of type 'org.springframework.security.AuthenticationCreden tialsNotFoundException'. Types cannot be instantiated without a public, no arguments constructor.
code: AMFConnection.Call.Failed
Thanks
For my spring Blazeds project, to do some testing, I am using flex.messaging.io.amf.client.AMFConnection class.
I am able to connect and call remote methods.
But I am not sure how to invoke remote method if my channel is made secured. I am using spring Security.
Can any one please tell how to get an authentication object or session id and send it back while i make the remote calls.
I get the below error when my channel is secured, which explains the reason for failure.
message: flex.messaging.MessageException: Unable to create a new instance of type 'org.springframework.security.AuthenticationCreden tialsNotFoundException'. Types cannot be instantiated without a public, no arguments constructor.
code: AMFConnection.Call.Failed
Thanks