Encryption/Decryption Through AOP
I've been playing around with AspectJ a little recently, applying logging and general application authentication/security through the framework and have been really enjoying myself. (those of you yet to play around with it, go check it out.)
Today I've been looking in to the idea of applying database encyrption and decryption using AOP, placing a bunch of Joinpoints onto my gateway objects and perhaps applying around advice to those objects, interception string arguments in and out of the gateway and parsing them through an encryption class.
Has anyone done any work on this kind of thing and willing to share thier experiance and perhaps any code examples?