Hi Heshitha,
If there is no any API level changes, it should work. The error I am
getting is not due wrong synapse version, its due to the corrupted jar
file. I am -1 to remove jar file link and only giving source code location.
Synapse API is not changing frequently. Users can easily try out the
Hi All,
It seems the sample jar added in the doc has used an older synapse
version(2.1.1-wso2v2) when building. IMO In order to maintain this we have
to update the sample jar with new synapse releases. So IMO its better if we
give only the source build option instead of providing the jar OOB.
Issue resolved once build from source.
Thanks
Godwin
On Tue, Jan 16, 2018 at 11:57 AM, Vinod Kavinda wrote:
> Hi Godwin,
> I'm sorry, missed that.
>
> Regards,
> Vinod
>
> On Tue, Jan 16, 2018 at 10:24 AM, Godwin Shrimal wrote:
>
>>
Hi Godwin,
I'm sorry, missed that.
Regards,
Vinod
On Tue, Jan 16, 2018 at 10:24 AM, Godwin Shrimal wrote:
> *org.wso2.handler.SimpleOauthHandler *is for OAuth security and here I am
> referring to BasicAuth. So class name in the doc looks correct for me.
>
> Thanks
> Godwin
>
*org.wso2.handler.SimpleOauthHandler *is for OAuth security and here I am
referring to BasicAuth. So class name in the doc looks correct for me.
Thanks
Godwin
On Tue, Jan 16, 2018 at 11:51 AM, Godwin Shrimal wrote:
> Hi Vinod,
>
> I tried changing handler name and getting the
Hi Vinod,
I tried changing handler name and getting the same error. It looks
something wrong with the jar file when I try the following command gives an
error as "Error: error reading
WSO2-REST-BasicAuth-Handler-1.0-SNAPSHOT.jar; error in opening zip file".
Let me compile the source and try.
Hi Godwin,
The jar in the given location has a different name than the doc. Please try
using the handler name "*org.wso2.handler.SimpleOauthHandler". *Let's
verify this. Then we need to correct the doc to align with the sample.
Thanks for reporting.
Regards,
Vinod
On Tue, Jan 16, 2018 at 7:56
Hi Devs,
When we add the BasicAuth handler to API and save it gives following error.
(I followed the doc [1] and downloaded the jar file and put into
/lib)
[2018-01-16 09:24:57,235] [EI-Core] ERROR - APIFactory Error initializing
API handler: org.wso2.rest.BasicAuthHandler