Yair Zaslavsky has posted comments on this change.

Change subject: 6. [WIP] core: Introducing AuthenticationProfileRepository
......................................................................


Patch Set 9:

(2 comments)

http://gerrit.ovirt.org/#/c/24366/9/backend/manager/modules/aaa/src/main/java/org/ovirt/engine/core/aaa/AuthenticationProfileRepository.java
File 
backend/manager/modules/aaa/src/main/java/org/ovirt/engine/core/aaa/AuthenticationProfileRepository.java:

Line 48: 
Line 49:             }
Line 50: 
Line 51:             Directory directory = 
DirectoryManager.getInstance().parseDirectory(authzExtension.getConfig());
Line 52:                 Authenticator authenticator =
> so why do you need to check for null?
right, no need.
Line 53:                     
AuthenticatorManager.getInstance().parseAuthenticator(authzExtension.getConfig());
Line 54:             if (directory == null) {
Line 55:                 throw new ConfigurationException("No directory could 
be obtained for authorization plugin "
Line 56:                         + authzExtension.getName());


Line 65:                         + authnExtension.getName());
Line 66:             }
Line 67: 
Line 68:             AuthenticationProfile profile = new 
AuthenticationProfile(profileName, authenticator, directory);
Line 69:             profiles.put(profileName, profile);
> can we do this ^ or there is a problem I do not see?
I don't think there should be a significat issue.
The authenticator is currently an empty interface.
I will fix it to return the profileName.
Line 70:         }
Line 71:     }
Line 72: 
Line 73:     /**


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

Gerrit-MessageType: comment
Gerrit-Change-Id: If375fccea98544c64d9ec41cc9dbcb855bf02fb7
Gerrit-PatchSet: 9
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Martin PeÅ™ina <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to