Alon Bar-Lev has posted comments on this change.

Change subject: aaa: Intorduce filters
......................................................................


Patch Set 8:

(1 comment)

http://gerrit.ovirt.org/#/c/28022/8/backend/manager/modules/aaa/src/main/java/org/ovirt/engine/core/aaa/filters/BasicAuthenticationFilter.java
File 
backend/manager/modules/aaa/src/main/java/org/ovirt/engine/core/aaa/filters/BasicAuthenticationFilter.java:

Line 62: 
Line 63:     private int getSeparator(String qualified) {
Line 64:         int result = -1;
Line 65:         if (userNameFormat == UserNameFormat.UPN && 
qualified.indexOf("\\") == -1) {
Line 66:             result = qualified.lastIndexOf("@");
> ok, so to conclude -
yes.

 user@profile
 user@suffix@profile
 prefix\user@profile [ windows case ]

rule: profile is last (@.*)

rest for some reason adds:

 profile\user
 profile\user@suffix
 profile\prefix\user [ windows case ]

rule: profile is first (.*\\)

kind of strange... who use this notation?
Line 67:         } else if (userNameFormat == 
UserNameFormat.DOWN_LEVEL_LOGON_NAME && qualified.indexOf("@") == -1) {
Line 68:             result = qualified.lastIndexOf("\\");
Line 69:         }
Line 70:         return result;


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia5536d123b6407acf41b6946dde796bd67d1e073
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <yzasl...@redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com>
Gerrit-Reviewer: Barak Azulay <bazu...@redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourf...@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