08-04-2011 03:57 AM
<webscript>
<shortname>Hello</shortname>
<description>Polite greeting</description>
<url>/sample/hello</url>
<authentication>user</authentication>
</webscript>
Hello ${person.properties.userName}
Alfresco Web Script Status 401 - Unauthorized
The Web Script /alfresco/service/index has responded with a status of 401 - Unauthorized.
401 Description: The request requires HTTP authentication.
Message: 07030057 Web Script org/springframework/extensions/webscripts/index.get requires admin authentication; however, a non-admin has attempted access.
Exception: org.springframework.extensions.webscripts.WebScriptException - 07030057 Web Script org/springframework/extensions/webscripts/index.get requires admin authentication; however, a non-admin has attempted access.
org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:294)
org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:333)
org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:189)
org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:58)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:419)
org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:378)
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
java.lang.Thread.run(Thread.java:662)
Server: Community v3.4.0 (d 3370) schema 4,113
Time: Aug 3, 2011 6:21:00 PM
Diagnostics: Inspect Web Script (org/springframework/extensions/webscripts/index.get)
08-10-2011 10:58 AM
<authentication>none</authentication>
http://wiki.alfresco.com/wiki/Web_Scripts#Creating_a_Description_DocumentLogin
GET /alfresco/s/api/login?u={username}&pw={password?}
—
Login and establish a ticket.
Input
u
cleartext username (must be URL encoded)
pw
cleartext password (must be URL encoded)
Login (POST)
POST /alfresco/s/api/login
—
Login and establish a ticket.
Input
JSON Data Object.
username
cleartext username
password
cleartext password
<ticket>TICKET_2b8e2a5676a41224d7f62da6de8b54bde854f6e7</ticket>
08-22-2011 11:50 AM
Alfresco Web Script Status 401 - Unauthorized
The Web Script /alfresco/service/ has responded with a status of 401 - Unauthorized.
401 Description: The request requires HTTP authentication.
Message: 07220074 Web Script org/springframework/extensions/webscripts/index.get requires admin authentication; however, a non-admin has attempted access.
Exception: org.springframework.extensions.webscripts.WebScriptException - 07220074 Web Script org/springframework/extensions/webscripts/index.get requires admin authentication; however, a non-admin has attempted access.
org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:294)
[…]
08-23-2011 08:54 AM
08-23-2011 11:25 AM
03-08-2012 05:25 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.