Merged V2.2 to HEAD

8430: Merged V2.1 to V2.2
      8428: Introduced notion of a 'secure' script - secure scripts have access to java.* libs and can instantiate Java objects

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8431 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2008-03-06 14:14:55 +00:00
parent 745f9c8eca
commit c9baaf0bb4
2 changed files with 16 additions and 0 deletions

View File

@@ -752,6 +752,14 @@ public class RepoStore implements Store, TenantDeployer
{ {
return "/" + path + " (in repository store " + repoStore.toString() + getBaseDir() + ")"; return "/" + path + " (in repository store " + repoStore.toString() + getBaseDir() + ")";
} }
/* (non-Javadoc)
* @see org.alfresco.web.scripts.ScriptContent#isSecure()
*/
public boolean isSecure()
{
return false;
}
} }
} }

View File

@@ -171,6 +171,14 @@ public class RepositoryScriptProcessor implements ScriptProcessor
return content.getReader(); return content.getReader();
} }
/* (non-Javadoc)
* @see org.alfresco.service.cmr.repository.ScriptLocation#isSecure()
*/
public boolean isSecure()
{
return false;
}
@Override @Override
public String toString() public String toString()
{ {