Mule Enterprise Security is a set of capabilities that build on top of Mule Enterprise’s existing security capabilities, including:
- Secure Token Service and OAuth 2.0 Provider
- Digital signing and data encryption
- Credentials vault
- Security filters
In this post we are going to look at how to use the data encryption capabilities in Mule Studio. We’re going to be using Mule Enterprise. Consider the following flow
We want to return the xml sensitive information in a way only authorised recipients can see it (encrypted). With the new mule enterprise security module, encrypting information is easy, just follow 3 steps:
1) Insert the encryption module into your flow:
2) Create your config reference (click on + and then Ok):
3) Write your encryption key:
And you are done!
What else could you do with this module?
1) Select three encryption strategies:
- JCE Encryption – with over 18 encryption algorithms, plus 4 encryption modes
- PGP Encryption – simplified, just add your credentials are your are ready to rock!
- XML Encryption – supporting the JCE-106 specification