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.

Această lucrare este oferită sub licență Atribuire-Necomercial-FărăModificări 3.0 Ne-adaptată Creative Commons  Postările pe Twitter™ şi Facebook nu sunt acoperite de condiţiile de licenţiere Creative Commons.

Prevederi legale   |   Politică de confidențialitate online