Ales Justin [
https://community.jboss.org/people/alesj] created the discussion
"Re: Encrypted class loading with jboss 5.1"
To view the discussion, visit:
https://community.jboss.org/message/797054#797054
--------------------------------------------------------------
You need 3 things:
(a) custom DecrypyterTranslator
(b) custom ClassLoaderPolicyModule -- similar to DecrypterClassLoaderPolicyModule
But instead of providing full CLPolicy, you simply add translator from (a).
@Override
protected VFSClassLoaderPolicy determinePolicy()
{
VFSClassLoaderPolicy policy = super.determinePolicy();
policy.addTranslator(new DecrypterTranslator(decrypter));
return policy;
}
(c) custom deployer which creates DecrypterClassLoaderPolicyModule
*
http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trun...
http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trun...
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/797054#797054]
Start a new discussion in JBoss Microcontainer at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]