mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -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()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user