jakarta-bsf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Adams <je...@wolfram.com>
Subject Re: Being able to set SecuritySupport on JavaScriptEngine's Context
Date Fri, 14 Feb 2003 02:37:53 GMT
>On Thu, Jan 23, 2003 at 03:25:21PM -0600, Jeff Adams wrote:
>>  Maybe there is already a hook into this, but with the JavaScriptEngine,
>>  it creates Contexts with each eval within
>>  Context.enter()
>>  Context.exit()
>>  blocks.
>>  The Rhino engine has a SecuritySupport object to be optionally added
>>  to Contexts
>>  and Apache Batik actually uses this and turns on security within
>>  their copy of js.jar and makes sure Batik calls setSecuritySupport()
>>  on the Context objs.
>Hum....I might be willing to apply a patch to the current BSF
>source to do this. However, Rhino 1.5r4 deprecates the
>SecuritySupport class...which makes me more likely to add support
>for the new SecurityController API.

I agree, it is not worth dealing with the deprecated API.


View raw message