cpayan/Custom-Authentication-Module-Examples — comment on commit 1065487745bfababb6f08573938343e1794ceedd
File:  line 0
By bradical:

Which version of Java are you running Cascade with? Can you attach the error?

It's definitely true that compiling the module with 6 and then trying to run it in Cascade with Java 6 will result in an error unless you compile it down to Java 5 compatible binaries.