Oh... sorry.  Not sure what the thing todo here is.  We can either 
generate a FilePermission which uses the underlying File.canRead(), 
blah, blah, blah or we can simply omit this field and have the default 
AllPermision be used.

Probably easier in the short term todo the later... though I think that 
might be wrong with respect to the security model... Scott?

For now I will just comment out the method.

--jason


Jules Gosnell wrote:

>
>Jason,
>
>Thanks for this - it should fix reloading JSPs ...
>
>
>However, Jetty deployment is now screwed !!!!!
>
>In FileURLConnection.getPermission() where you say :
>
>   public Permission getPermission() throws IOException {
>      // should probably return a FilePermission here...
>      // but I don't understand that crap, so just return the default
>      return super.getPermission();
>   }
>
>You are absolutely right !!!
>
>Jetty is using permission.getName() to get the file name - this is now
>returning a string "<all permissions>" - whereas before it returned a
>valid file name.
>
>Jetty can no longer deploy anything.
>
>I would look into this, but I have to go to work.
>
>We could change Jetty, but this would just bite the next person to use
>it.
>
>
>What do you reckon ? Would it be easy to return a java.io.FilePermission
>here - as expected.
>
>
>Jules
>
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>_______________________________________________
>Jboss-development mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-development
>



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to