title: Encrypted class loading in jboss
body: <p>We are using JBoss 5.1 to deploy our application. But now we want to encrypt few classes in our war. When we encrypt a .class file, then Jboss throws error. This is understandable because jboss's class loader doesn't know that the class is encrypted. 
  I want to extend the JBoss's class loading functionality and implement code to decrypt the .class file before it loads. </p>
  
  <p>I guess this must be possible. I have been reading jboss developer manual and am not able to figure out how I can do it. </p>
  
  <p>Has anyone else already done anything similar. Any suggestions or help would be great. </p>
  
  <p>Thanks,
  Irfan</p>