How to use JSON Web Token (JWT) validation policy

Do you want to establish secure transactions between clients and your APIs? Do you want to know a safe way to represent information between two parties? Or confirm that the data was sent by an authentic source? JSON Web Token (JWT) is a compact way to securely transmit information between two parties. If you have questions regarding API security, read along to discover why MuleSoft JSON Web Token Validation Policy is one of the ways to safely protect your APIs. 

Introducing the Validations Module

This all began with a very popular request: “We want to be able to throw an Exception from a flow”. The motivation for this is that it’s fairly common to run into “business errors” (errors not related to the handling and transmission of data but the data itself) which should actually be treated in the same way as a connection or system error (things like the remote endpoint is down).

Given the popularity of the request we decided to look into it and started by asking: “which are the use cases in which you would throw an exception?”.

Anypoint Studio 5.3 with Mule 3.7.2 released!

September 17 2015

3 comments
motif

I’m pleased to announce the availability of our Anypoint Studio 5.3 release with the brand new Mule 3.7.2 release. This release features a new validations module, which allows you to easily validate Mule messages using a variety of built in validators. It also features many improvements such as improved ability to attach sources to runtimes and improvements to the API gateway runtime experience in Anypoint Studio.

Validations Module

This release includes a new validations module,

Validating complex XML messages with Mule and AbsoluteRule

motif

It is pretty common that Mule messages contain XML as a payload and that those messages need to be validated/transformed. XML documents can be automatically validated using XSD, though those validations are structural and sometimes we need to manually code some validation in plain Java (especially in complex scenarios like validating references, existence conditions and value dependencies).