Encrypt / Decrypt in Mule community edition - encryption

How can we encrypt/ decrypt properties in mule community edition. As per my understanding Mule credential vault /security-property-placeholder are supported by enterprise edition. How can I achieve the same in Community edition.

You need to manually handle the encryption and decryption using custom java implementation. There is a thread in StackOverflow on how to implement the same using java.

Related

Using HSQLDB with encryption

We are creating a self contained system with Spring Boot and for persistence we are using HSQLDB.
Does HSQLDB provide an option to encrypt the data being stored ?
If it does not, is there any other solution to encrypt the data for Spring Boot and HSQLDB combination ?
HSQLDB supports database persistence encryption. See the Guide:
http://www.hsqldb.org/doc/2.0/guide/management-chapt.html#mtc_encrypted_database

CosmoDB with Qt

Hello and I am new to developing with Qt for cross platform development. My current goal is to be able to cache data from a CosmosDB with my app that I've developed in Qt. I've had no problem setting up the CosmosDB, but I am confused at what the best way to communicate with the database is.
Do I need to create my own API to talk with the database? Are there libraries out there already do what I want?
You can use either standard HTTP requests, or use SQL API.
Azure Cosmos DB exposes resources through the REST APIs that can be called by HTTP/HTTPS requests. How can I develop apps with the SQL API
Azure Cosmos DB REST API reference
Also Azure Cosmos DB offers a query language as an interface to query JSON documents. The language supports a subset of ANSI SQL grammar and adds deep integration of JavaScript object, arrays, object construction, and function invocation. Microsoft shows exmaples here

Need help to configure API connect with datapower

I wanted to secure my microservices built in api connect using Oauth for that i need to use datapower as authorization server.
Is there any step by step document/example to configure API connect to use Datapower Gateway API gateway.
Any help will be appreciated.
Using the API Designer from API Connect, you can create OAuth-based security for your microservice app that uses DataPower as the OAuth provider. Are you familiar with the API Designer and the API Connect toolkit?
OAuth 2.0 is supported by the Micro Gateway only from version 5.0.3 and onwards but as you have DataPower you are fine. The interface/GUI is much better though in later versions of v5.
Did you see this: https://www.ibm.com/support/knowledgecenter/en/SSFS6T/com.ibm.apic.toolkit.doc/tutorial_apionprem_security_OAuth.html
Or this:
https://www.ibm.com/support/knowledgecenter/en/SSFS6T/com.ibm.apic.toolkit.doc/tapim_sec_api_config_scheme_oauth_endpoint.html
Check out Lab 4 here:
https://github.com/ibm-apiconnect/pot-onprem-docs/tree/master/lab-guide
The Lab software/setup is also found in that GitHub account!
Reinstalling and Configuring DataPower worked for me it concludes that there was a problem with initial configurations.

OData Service for SQL Azure read only?

according to here: http://watwp.codeplex.com/wikipage?title=Architecture%20Diagrams
The SQL Azure OData Service is a sample WCF Data Service built on top
of a SQL Azure (or SQL Server) database using Entity Framework 4.1
Code First.
The current version of this service only supports Read operations and,
in addition to exposing the SQL Azure database as an OData feed, it
adds a security layer to manage authentication / authorization.
so does it mean the my windows phone app will only be able to read from sql azure and not write to ? or can i do it by creating a data service on the asp.net server ?
i'm a little confused.
What this is saying is that the sample OData service that they provided only implements read operations. If you want read and write, you're going to have to roll that yourself.

Pull/Push message-Exchange Server 2007 using EWS Managed Api 1.0

.NET 4.0 - C# Application needs to pull messages out of Exchange Server 2007. We are using EWS Managed API 1.0. Also the app needs to push messages to the Exchange Server 2007.
Pull subscriptions can be implemented directly with the managed API.
For push subscriptions, have a look at http://exchangenotification.codeplex.com/. I've created a .NET Wrapper for push notifications, which is rather simple to use.

Resources