JBoss Community

Re: Encrypted class loading with jboss 5.1

created by Ales Justin in JBoss Microcontainer - View the full discussion

The main and (only) thing that you need to do is this deployer:

* http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trunk/classloader/src/main/java/org/jboss/demos/classloader/deployers/DecrypterClassLoaderPolicyModule.java

 

As you can see, we change the CL policy to CrypterClassLoaderPolicy.

 

Or the commented code, where we just add translator to policy.

This is a better / easier way, but I need to check if this is already available in AS5.1.

 

I also added a way to do this declarative, via xml, but I really doubt this one is in AS5.1,

meaning you're definitely have to do it via adding a custom deployer.

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community