Hi Chamith, I do get an error log for failed authorizations at the ESB console. Given bellow is the exception I could generate.
[2012-06-17 02:25:53,044] ERROR - OAuthMediator Error occured while validating oauth consumer org.apache.synapse.SynapseException: OAuth authentication failed at org.wso2.carbon.identity.oauth.mediator.OAuthMediator.mediate(OAuthMediator.java:120) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60) at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:114) at org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:154) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181) at org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144) at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:139) at org.apache.synapse.transport.nhttp.util.RESTUtil.processGetAndDeleteRequest(RESTUtil.java:139) at org.apache.synapse.transport.nhttp.DefaultHttpGetProcessor.processGetAndDelete(DefaultHttpGetProcessor.java:464) at org.wso2.carbon.transport.nhttp.api.NHttpGetProcessor.process(NHttpGetProcessor.java:296) at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:258) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:173) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Do you get any error logs in the IS console ? what is the scenario you tried ? Thanks, Suresh On Sun, Jun 17, 2012 at 1:35 AM, Buddhika Chamith <buddhi...@wso2.com>wrote: > Hi, > > I didn't see any log or exception at ESB when I tried the xacml sample > with a failed authorization. I was under the impression the flow would go > through the fault sequence once authorization failed. May I know the > intended behavior once this happens specially as seen by the client? (I am > simply getting an org.apache.axis2.AxisFault: The input stream for an > incoming message is null at my sample client. Shouldn't the error be more > specific for a failed authorization?). > > Regards > Buddhika > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Suresh Attanayake Software Engineer; WSO2 Inc. http://wso2.com/ Blog : http://sureshatt.blogspot.com/ Twitter : https://twitter.com/sureshatt LinkedIn : http://lk.linkedin.com/in/sureshatt Mobile : +94755012060,+94770419136,+94710467976
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev