I use JBoss 3.2.2. I want to protect my application by encoding the class files in my jar archives. In this way I have to decode them while class loading.
Now my question: In normal way I do not have to load my classes myself. They are loaded automatically by JBoss (I do not really know where this is done). Is there any way to complement this "standard" class loader so that If one of my encoded classes should be loaded I can decode it before loading? If not is there another way to do that?
You can implement your own URL handler for this
and specify that URL in the deployment scanner.
Where you implement the URL handler for secured:/
to perform your own operations.
The problem is that anything that JBoss can do,
somebody else can do as well using the same classes.