tags:

views:

59

answers:

1

Hi Everybody

I have here a slight problem.

We have written a big spring based application that runs on pure J2SE. No security manager, everything fine.

Now I got a request to get this app inside some container inside an application server. Obviously the application wont run after i am done with the porting because they have a security manger inside the server. Every call to reflection goes through it.

Have you any idea what can i do actually to make these two things work together.

Thanks

+1  A: 

You're going to have to configure the security manager to allow the reflective method calls to go through. You'll need to find the id of that permission and give permission for that call to happen.

Michael Wiles