How many web sites/web services have you wished you could just interact with over the command line? Sometimes, you just want to type commands in your shell. I can name at least 3 of our products which I’ve wished I could do that with: iON, MMC, and Tcat.
There are some challenges though. Bash/BAT file scripts don’t provide facilities to interact with web services. Then, if you go with a cross platform language, you have to write cross platform scripts and provide a way to distribute it.
We thought we’d make this easier, so we wrote Mule Jockey, a tool to turn annotated groovy scripts into a cross platform distribution of shell scripts.
It’s really easy. First, write your command. For example:
Read more →
Filed under: CloudHub, Mule ESB, Tech Ramblings by Dan Diephouse on Monday, April 11, 2011 | Social tagging: developer tools > Groovy > jersey
1 Comment »
Many Mule users create RESTful services but they are not always clear on the way to authenticate and apply authorization to a RESTful Web Service. I have seen questions about this topic so I decided to write a tutorial that covers a common use case. We’re going to use Jersey, Spring Security and LDAP and of course Mule to pull it all together. I will show you how to do the following:
Read more →
- Expose REST resource using Jersey
- Secure the REST resource using HTTP Basic Authentication
- Authenticate and authorize users against an LDAP Directory
- Apply authorisation based on users groups to this REST resource
Filed under: Mule ESB by jaskirat.bhatia on Thursday, March 24, 2011 | Social tagging: apache DS > apache ldap > authentication > authorization > howto > jersey > ldap > Mule 3 > Mule 3.x > REST > REST webservice > Security
2 Comments »