Thanks a lot, still this didnt't work with our installation.
Following your instruction set, I received
"WebScript soandso requires user authentication; however, a guest has attempted access."
The only place where this message is to be found is in Alfresco source:
[…]
else if ((required == RequiredAuthentication.user || required == RequiredAuthentication.admin) && isGuest)
{
throw new WebScriptException(HttpServletResponse.SC_UNAUTHORIZED, "Web Script " + desc.getId() + " requires user authentication; however, a guest has attempted access.");
}
[..,]
Why is this script insisting on its user authentification process?
The answer: via the xml-file the webscript is registered at startup.
Changes in it weren't of effect, as long as I didn't restart Alfresco.
Only ftl and js-files are being read everytime the webscript is called.