0 Replies Latest reply on Jan 29, 2013 6:26 AM by Irfan Basha

    Encrypted class loading with jboss 5.1

    Irfan Basha Newbie

      Hello All,

       

      We are using jboss 5.1 to deploy our application. Now we want to secure our .class files, so we are trying to encrypt the .class files.

      but once we use encrypted .class files, jboss throws error (rather warnings saying

      WARN  [org.jboss.detailed.classloader.ClassLoaderManager] (main) Unexpected error during load of:xxx.xxx.UserController

      java.lang.ClassFormatError: Unknown constant tag 80 in class file xxx/xxx/UserController)

       

      Can some one tell me how I can add a custom class loader to jboss 5.1 which can decrypt the .class files before loading it.

       

      Thanks,

      Irfan