Re: Fixed - Repost:HELP! Security question - grant entries

2001-11-16 Thread Antony Bowesman
Hi, Got it to work, permissions for JSPs can only be given at the context root level. I was trying to be more fine grained which is not possible. Antony Antony Bowesman wrote: Hi, How can you assign permissions to code compiled from a JSP, it is possible or do you have to put all code

Security question - grant entries

2001-11-15 Thread Antony Bowesman
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

Repost:HELP! Security question - grant entries

2001-11-15 Thread Antony Bowesman
Hi, How can you assign permissions to code compiled from a JSP, it is possible or do you have to put all code that performs actions that may encounter security checks inside a bean and then allocate permissions to the bean class? I tried adding grant codeBase