cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with authorization when creating site

jelena
Champ in-the-making
Champ in-the-making
I'm writing java web-script which calls share/service/modules/create-site web-script create-site. The problem is I get authentication problem


    "status" :
  {
    "code" : 401,
    "name" : "Unauthorized",
    "description" : "The request requires HTTP authentication."
  }, 
 
  "message" : "error.loggedOut", 
  "exception" : "",
 
  "callstack" :
  [
       
  ],
 
  "server" : "Spring WebScripts - v1.0.0 (Milestone 3 357) schema 1,000",
  "time" : "Nov 22, 2010 3:12:21 PM"
}


I have provided alf_ticket as parameter and JSON object in mehod entity.

What else should I do to create site sucessfuly?

Thanks
1 REPLY 1

jelena
Champ in-the-making
Champ in-the-making
I found my problem as reported issue and it is solved for 3.2 . http://issues.alfresco.com/jira/browse/ALF-1335?page=com.atlassian.jira.plugin.system.issuetabpanels...
I've tried it with 3.3 and it doesn't work. It doesn't pass
repoResponse=scriptRemoteConnector.post("/api/sites?alf_ticket="+clientJSON.ticket, clientRequest, "application/json");
 
repoResponse is empty after this.

Does somebody has some info about this?

Thanks
Getting started

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.