[jboss-dev-forums] [Design of POJO Server] - Re: VFS Permissions - JBMICROCONT-149

anil.saldhana@jboss.com do-not-reply at jboss.com
Tue Nov 11 11:45:26 EST 2008


  | /** JBCL-64: CodeSource should use read vfs url **/ 	    
  |  private boolean useRealURL = false;
  | 
  |  this.useRealURL = Boolean.valueOf(SecurityActions.getProperty("vfs.codesource.useRealURL", "true"));
  | 
  | 

So you call that a System Property hack?  How?  If the property is not set, it is returning the true value.

You prefer the following and the reason?


  | private boolean useRealURL = true;
  |  this.useRealURL = Boolean.valueOf(SecurityActions.getProperty("vfs.codesource.useRealURL", "true"));
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188521#4188521

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188521



More information about the jboss-dev-forums mailing list