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

neil_a_wilson
16.55.2007 419d322e070a4ae22e4776c6493f6d5531ba3efb
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
commit419d322e070a4ae22e4776c6493f6d5531ba3efb
tree e4bc1915212f82f8a1dd945bd71509f65c3bcbd1 tree | zip | gz
parent e065ed02cf151b139a7e11bb25b09398c879fd5a 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
opendj-sdk/opends/src/server/org/opends/server/api/ClientConnection.java 134 ●●●● diff | view | raw | blame | history