cancel
Showing results for 
Search instead for 
Did you mean: 

creating tickets

tonizz
Champ in-the-making
Champ in-the-making
Hi everybody,

Im trying to create a ticket to access from my web application to a some alfresco content. If I write the url of the content directly I obtain the Login page but I want to avoid this.

I have read that I can create a ticket for this. Is it the best option??

String ticket = webServiceFactory.getAuthenticationService().startSession("admin", "admin").getTicket();
return "http:…../noticia1.html" + ticket;

But I have a problem, I dont know where is the class webServiceFactory. I have read that I could find it in webserviceclient.jar but Im not finding this library too.

Where can I find it??

Thanks in advance.
1 REPLY 1

kevinr
Star Contributor
Star Contributor