Change in ovirt-engine[master]: 15. core: Add internal authenticator

yzaslavs at redhat.com yzaslavs at redhat.com
Wed Jan 15 21:26:18 UTC 2014


Yair Zaslavsky has submitted this change and it was merged.

Change subject: 15. core: Add internal authenticator
......................................................................


15. core: Add internal authenticator

This patch adds an internal authenticator based on the new
authentication interfaces previously introduced. This authenticator
behaves exactly like the previous one, taking the user name and password
from the AdminUser and AdminPassword configuration parameters stored in
the database

Currently, no conf file is needed.
In the future, we might consider creating an internal.conf file at
/etc/ovirt-engine/auth.conf.dd directory with the following content:

  #
  # The name of the authentication profile (this is what will be
  # displayed in the login form):
  #
  name=internal

  #
  # The name of the module containing the implementations of the
  # authenticator and directory:
  #
  module=org.ovirt.engine.core.authentication

  #
  # The types of the authenticator and the directory:
  #
  type=internal

This patch concludes a series of patches, due to jenkins infra issues
we had to manually run findbugs, rpm build & install and unit tests/dao tests to
confirm nothing breaks

Change-Id: I005e7e721b6342b292cf79ccf1e0355c65bd116f
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/authentication/src/main/java/org/ovirt/engine/core/authentication/header/HeaderAuthenticatorFactory.java
A backend/manager/modules/authentication/src/main/java/org/ovirt/engine/core/authentication/internal/InternalAuthenticator.java
A backend/manager/modules/authentication/src/main/java/org/ovirt/engine/core/authentication/internal/InternalAuthenticatorFactory.java
A backend/manager/modules/authentication/src/main/java/org/ovirt/engine/core/authentication/internal/InternalDirectory.java
A backend/manager/modules/authentication/src/main/java/org/ovirt/engine/core/authentication/internal/InternalDirectoryFactory.java
M backend/manager/modules/authentication/src/main/resources/META-INF/services/org.ovirt.engine.core.authentication.AuthenticatorFactory
M backend/manager/modules/authentication/src/main/resources/META-INF/services/org.ovirt.engine.core.authentication.DirectoryFactory
7 files changed, 235 insertions(+), 1 deletion(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I005e7e721b6342b292cf79ccf1e0355c65bd116f
Gerrit-PatchSet: 34
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Liran Zelkha <lzelkha at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: mooli tayer <mtayer at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list