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.

本产品经 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License 许可  Twitter™ 与 Facebook 中的内容不在 Creative Commons 的条款约束之下。

法律声明   |   在线隐私策略