mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
16.55.2007 39408c5ed6bab7b3a506e1c68c5658de06d00f61
refs
author neil_a_wilson <neil_a_wilson@localhost>
Friday, March 16, 2007 21:55 +0100
committer neil_a_wilson <neil_a_wilson@localhost>
Friday, March 16, 2007 21:55 +0100
commit39408c5ed6bab7b3a506e1c68c5658de06d00f61
tree 77e27622d1ebcf3a2cba59574a8458cc1f4e67eb tree | zip | gz
parent d38af3ce0247e0b2903c983e6b110fc2ca863c15 view | diff
Update the hasPrivilege and hasAllPrivileges so that they use debug logging
rather than error logging for the audit-type messages that they produce. This
will significantly reduce the cost of these methods (which is important, since
hasPrivilege is called at least once per operation), since there is a global
debugEnabled() check that can be used to avoid a lot of the expensive work if
debugging isn't needed.

OpenDS Issue Number: 1386
1 files modified
134 ■■■■ changed files
opends/src/server/org/opends/server/api/ClientConnection.java 134 ●●●● diff | view | raw | blame | history