Alon Bar-Lev has posted comments on this change.

Change subject: aaa: InternalAuthenticator should use the extension API
......................................................................


Patch Set 17:

(2 comments)

http://gerrit.ovirt.org/#/c/26443/17/backend/manager/modules/builtin-extensions/src/main/java/org/ovirt/engine/extensions/aaa/builtin/internal/InternalAuthenticator.java
File 
backend/manager/modules/builtin-extensions/src/main/java/org/ovirt/engine/extensions/aaa/builtin/internal/InternalAuthenticator.java:

Line 46: 
Line 47:     private void doInit(ExtMap input, ExtMap output) {
Line 48:         context = input.<ExtMap> get(Base.InvokeKeys.CONTEXT);
Line 49:         List<String> sensitiveKeys =  new 
ArrayList<>(context.<List<String>> 
get(Base.ContextKeys.CONFIGURATION_SENSITIVE_KEYS));
Line 50:         sensitiveKeys.add("config.authn.user.password");
remind me why do we need temp var?
Line 51: 
Line 52:         context.mput(
Line 53:                 Base.ContextKeys.AUTHOR,
Line 54:                 "The oVirt Project").mput(


Line 55:                 Base.ContextKeys.CONFIGURATION_SENSITIVE_KEYS,
Line 56:                 sensitiveKeys
Line 57:                 ).mput(
Line 58:                         Base.ContextKeys.INSTANCE_NAME,
Line 59:                         context.<Properties> 
get(Base.ContextKeys.CONFIGURATION).get(Base.ConfigKeys.NAME)
this is set by the extensions manager
Line 60:                 ).mput(
Line 61:                         Base.ContextKeys.EXTENSION_NAME,
Line 62:                         "Internal Authentication (Built-in)"
Line 63:                 ).mput(


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I60f7b7f50617bff9f4872dc79f14fb016c9d72d3
Gerrit-PatchSet: 17
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <yzasl...@redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to