As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
// get current connexion ticket String myCurrentTicket = authenticationService.getCurrentTicket(); // set user for the next operations AuthenticationUtil.setCurrentUser("admin"); // // do some work as user "admin" // // restore previous connexion authenticationService.validate(myCurrentTicket);