Skip to main content

Posts

Showing posts with the label studio

Mule Anypoint Studio - Screen Frozen at Workspace Launcher

Recently, I thought of upgrading various softwares on my MAC OS including Java, AnypointStudio and all other softwares. So, I downloaded new version of MuleSoft Anypoint Studio on my MAC OS. After installing AnypointStudio, when I opened it for the first time, I immediately encountered an issue. Guess what, the very first screen - Workspace Launcher was frozen. I was not able to type-in workspace location, I was not able to click on browse button, I was not able to click on cancel or ok button. What a bummer!! After some trial and errors, I finally found the solution to fix the problem. I am not sure why, but looks like Anypoint Studio does not work with Java 9. As part of upgrade process, I had upgraded the Java version from 7 to 9. Either you will have to uninstall Java 9 and go back to Java 7 (I did not test this with Java 8) or you can follow below steps to make it work. Install Java 7 in addition to Java 9 on MAC OS. Get the Java 7 location, we will need this location....

Decompiler for Eclipse and MuleSoft Anypoint Studio

Decompilers are one of the most important tool for developers. Many Java developers use Eclipse IDE and many MuleSoft developers use Anypoint Studio (just another flavour of Eclipse) for their development work. We can easy configure decompiler for these IDEs. Here are the simple steps (for both IDEs): Download update site archive from here . Unzip the archive and note the location/path Open Eclipse or MuleSoft Anypoint Studio  Click on "Help" Select "Install New Software..." Click on "Add..." button On the pop-up, type name as "Java Decompiler" (or any other name) Click on "Local..." button Select the unzip location (Step 2) Click "OK" button to close the pop-up Select checkbox: Java Decompiler Eclipse Plug-in Click on "Next" Select "Yes" for the agreement Select "Finish" Restart Eclipse or MuleSoft Anypoint Studio Now, Eclipse or MuleSoft Anypoint Studio can decompile Java ....

LDAP Users and Groups for API Authentication and Authorization

Today, API security has become one of the most important thing. It is a vast field with many approaches and meanings. Most commonly, people refer API security as Authentication and Authorization . Encryption can also be included in this space, but lets keep that aside for separate discussion. For this article, lets just focus on how to use LDAP for API Authentication and Authorization. There are many frameworks like Spring, etc. which can be used to connect your application with LDAP for Authentication. LDAP does not handle Authorization piece but it can return "Groups" and based on that you application can either authorize or deny the request. In this article, we will see following: How to create a user in LDAP How to create a group in LDAP How to assign user to the group in LDAP Refer this link if you wish to setup OpenLDAP on your MAC. I had used JXplorer before but for this article I am going to use Apache Directory Studio . Moreover, I am going to use Apa...

MuleSoft LDAP Connector With Example

As we all know, the L ightweight D irectory A ccess Protocol ( LDAP ) is an open, vendor-neutral, industry standard application protocol for accessing and maintaining distributed directory information services over an Internet Protocol (IP) network. A common use of LDAP is to provide a central place to store usernames and passwords. This allows many different applications and services to connect to the LDAP server to validate users. This has a major benefit that allows a central place to update and change user passwords. With MuleSoft’s LDAP Connector , we can access and maintain directory information services over an IP network by connecting to any LDAP server. LDAP Connector is developed by MuleSoft's developer community and it is categorized as Community Connectors. Latest LDAP Connector documentation is available here . Unfortunately, the information and examples of this connector are limited and scattered all over the web. Today, I am trying to cover as many details as p...