AnsweredAssumed Answered

Help needed in getting a Username in Alfresco provided the login ticket.

Question asked by umamaheswari on Jun 28, 2013
Latest reply on Jul 5, 2013 by umamaheswari
Hello All,

I have just started development with Alfresco. I want to know if I will be able to get the username, provided the ticket after login is available with me. I am developing Java Backed Webscripts.
Pardon me if I have posted it under wrong content.


the authenticationService.getCurrentUsername() method always returns "admin" as user.


Also how can i validate a person with the Ticket(acquired after login) he passes to me.

The authenticationService.getCurrentTicket() method and AuthenticationUtils.getTicket() methods return two different tickets all the time. What does this infer??

ANy help would be really helpful,,


Uma


Outcomes