Change in ovirt-engine[master]: core: Fixing account disabled handling

yzaslavs at redhat.com yzaslavs at redhat.com
Sun Aug 19 15:00:53 UTC 2012


Yair Zaslavsky has submitted this change and it was merged.

Change subject: core: Fixing account disabled handling
......................................................................


core: Fixing account disabled handling

The following patch fix account disabled handling.
It fixes:
1. Improper usage of AuditLog to log account locked or disabled event
2. AuditLog also in case of OperationNotSUppotedException - this error
might occure if account got locked after authentication succeeds.
3. Fix of EngineDirectoryServiceException - in case of OperationNotSuppoortedException
there should be not attempt to proceed to next LDAP server and a proper
detailed error should be printed. The fix fixes the detailed error printing

Change-Id: I59e875997b904cbdc058a45efd640f5bf1fc6588
Signed-off-by: Yair Zaslavsky <yzaslavs at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/adbroker/DirectorySearcher.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/adbroker/EngineDirectoryServiceException.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/adbroker/ExceptionHandler.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/adbroker/GSSAPIDirContextAuthenticationStrategy.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/adbroker/LdapBrokerUtils.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/adbroker/LdapSearchExceptionHandler.java
6 files changed, 23 insertions(+), 14 deletions(-)

Approvals:
  Yair Zaslavsky: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/7025
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I59e875997b904cbdc058a45efd640f5bf1fc6588
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list