AnsweredAssumed Answered

Authentication using user and ticket

Question asked by isloat on Mar 21, 2011
Latest reply on Mar 23, 2011 by isloat
I'm trying to authenticate with the Alfresco ticket to the repository from an external web app. I'm doing the following:

String SERVER = "http://alfrescoserver:8080/alfresco/api";
AuthenticationDetails authDetails = new AuthenticationDetails(user,ticket, null);

The ticket is valid, because the function "AuthenticationUtils.isCurrentTicketTimedOut()" returns "false".
But it throws this error: The security token could not be authenticated or authorized
I've tried to add the SessionId in the AuthenticationDetails constructor, but the exception remains.

Is any way to authenticate doing this? Or the only chance is using "startSession(USER, PASS);"?