From: Tait L. <ta...@we...> - 2001-05-02 05:38:05
|
I'm experimenting with building a jython interpreter into our java platform. The our java platform implements the business logic of a web application. I'd like to restrict the jython interpreter so that it can only directly access specific classes currently available in the running jvm. I could then build a web front end to the PythonInterpreter class and have a powerful and -- with a well written api -- a safe scripting interface to our platform. How can I restrict the java classes which the PythonInterpreter class' exec and eval methods recognize. Thanks, Tait |