Use a system ticket

Issue

Does the system ticket imply any side effects?

Solution

Accessing the system ticket gives you a master ticket, where no ACL restrictions are ever applied and checked. The master ticket gives you much power and performance.   When you get the system ticket, don't use it directly, but duplicate it before use. When you are done using the ticket, close the duplicate:
Ticket originalSystemTicket = ... get system ticket from Engine ...
Ticket systemTicket = originalSystemTicket.duplicate();
try {
... do whatever ...
} finally {
systemTicket.close();
}

Remember: This ticket is the master ticket without access restrictions. Limit use of this ticket must to their main task. Do not use them to open a back-door into the system.

 Adobe

Krijg sneller en gemakkelijker hulp

Nieuwe gebruiker?