Browsing articles from "October, 2006"
Oct
28
2006

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 once a [...]

Oct
12
2006

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 WSSubject being a static and final class for good measure. No mocking of the [...]

Oct
3
2006

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 interesting bit of work. With a chaining block cipher, [...]

Glen Smith

About Glen

Co-author Grails in Action