You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Antony Bowesman <ad...@teamware.com> on 2001/11/15 17:09:17 UTC

Security question - grant entries

Hi,

How do you grant permissions in the policy file to jsp pages. I've tried

grant codeBase
"file:${catalina.home}/work/localhost/examples/jsp/security/protected/-"
{
        permission java.security.AllPermission;
};

but I get an AccessControlException when some code in the jsp tries to
do something that requires certain permission.

It's tomcat 4.0

Any ideas?
Antony

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>