This post demonstrates the steps for applying an OAuth2 policy with Mule API manager. We will use the Mule External OAuth2 Provider as the authorization server. Most of the steps also apply to the Client-ID enforcement policy. For a Client ID policy, you can skip step 4, and pick the Client-ID enforcement policy for step […]
Yuan Meng
Blogs from this Author
The SOA, the API and “REST” of the API
When I jumped on the API bandwagon a couple years ago, I thought I just caught the last train of the API phenomenon. Today API is still hot and getting hotter each day with no signs of abating. With things where they are now, I thought that it would be a good time to look […]
Exporting Common Mule Project as Jar
You might be puzzled why I’m posting such a simple thing. Let me tell you why I’m doing this post at this very moment. I do posting under two scenarios. Happy scenario: I come up with a topic, think it through and post it. Unhappy scenario: I did something a few months or a few […]
Mule And SSL Debugging
The newer Mule release (I’m currently on 3.8.3) has stopped supporting TLSv1 out of the box. But in some cases, your Mule application may need to “shake hands” with an older application that runs SSL (with TLSv1). For an on-prem server, the solution is to modify “MuleHome/conf/tls-default.conf” file, and change this line: enabledProtocols=TLSv1,TLSv1.1,TLSv1.2 Please note […]
OAuth Dance with Mule External Provider
OAuth Dance sounds like such a romantic term in the otherwise boring IT landscape. The term also helps dazzle many beginners who are trying to grasp the essence of this seemingly magical new security mechanism. Although plenty has been said about OAuth2, I still find it is valuable to walk through all four OAuth grant […]
Running Mule API in Hybrid Mode – 3.8.x
Things are moving fast with Mule (no pun intended). It has been barely a year since I posted about the Mule hybrid API with 3.7 release. That version has already become somewhat obsolete. With the Mule release 3.8, the API gateway and ESB are firmly fused into one (technically that already happened with the last 3.7.x) and […]
Enabling HTTPS for a Mule Application
Enabling HTTPS is a common task when developing HTTP based applications. With many platforms, such as Apache server, WebLogic, JBoss etc, it’s simply a matter of clicking a checkbox, or change one config line. For a Mule application, it takes a bit more finessing. There are plenty of posts and online resources discussing it. Yet […]
Mule Variable Scopes and Passing Global Values with Mule Registry
Mule variables and their scope are a widely-discussed subject. Even with the official document (linked above) and plenty of online discussions, I still find there are subtleties left to be discovered. Sometimes it takes experimenting to find out the precise behavior. This is how I sum up the general rules concerning variables and scopes: Flow […]
Technically, What is a Mule API?
** If you want to follow the steps in this post to create the API and need a sample RAML, please see the end of the post for the hello-world RAML file ** With the Mule 3.8.x release, the Mule API gateway and ESB has merged into one. Now it is simply called Mule Runtime […]
Processing JSON with Mule Transformers
To see more on Mule Json data processing, please follow this newer blog post: https://blogs.perficient.com/integrate/2018/03/02/json-data-processing-mule-transformers-dataweave/ When a JSON object comes into Mule application, it’s very common it’s represented as a JSON formatted string. For example, when it’s part of HTTP post string or part of the message received from an Amazon SQS queue. In order to process the JSON formatted […]
Download Earlier Versions of Anypoint Studio or Mule ESB Servers
It has always bothered me that I can’t find earlier versions of Mule product. Someone asked me the same question today. So I took myself to task to figure out the bottom of this thing. I think I may have found the holy grail, so to speak. In this case, my colleague wants to download anypoint […]
MuleSoft Salesforce Connector Release 7.2.0.201608251058 and fieldsToNull
Hot off the press, MuleSoft just released a new Salesforce connector “7.2.0.201608251058”. If you read carefully, that’s about 5 days ago. Normally, I’m not in a hurry to update new connector release. However, this time it may be worthwhile to get the new version if you need to use a particular feature: setting SFDC fields to […]