logo
Oct
28

A very Groovy Morning Tea with Confluence, Groovy-XMLRPC and AntBuilder

When I found out that Confluence has an XMLRPC interface, and the Groovy had an XMLRPC module, I started to think of a very simple way to make sure people remember when they’re rostered on Morning Tea. My criteria for the app was "What’s the simplest thing that could possible work?" I figured a morning tea page on the Wiki, with a table of dates and names. My script is cronned to run...
Oct
12

Doing bytecode Kungfu with Javassist

Came across a situation today where I need to mock out a static method on one of Websphere’s classes to simulate a certain test case. Normally this kind of bad boy is pretty tricky since you’ve either got to wrap the vendor’s class with your own injectable wrapper, or provide your own impl for their interface. The call in question was: WSSubject.getCallerSubject(); with...
Oct
3

Twofish, Cipher Block Chaining, and Bouncy Castle…

I’ve been hard at work on the lastest release of PasswordSafeSWT, my Java port of the popular Win32 password manager PasswordSafe. The biggest change in the new version is a completely overhauled file crypto (which, in part, uses 256bit TwoFish in Chaining Block Cipher mode, along with some HMAC-SHA256, and some standard SHA256). Now, I’ve never been exposed to CBC before, so it was quite an...

logo
Powered by WordPress | Designed by Elegant Themes