Bug 1104107

Summary: [RFE][AAA] support only UPN format for usernames
Product: [oVirt] ovirt-engine Reporter: Yair Zaslavsky <yzaslavs>
Component: AAAAssignee: Ravi Nori <rnori>
Status: CLOSED CURRENTRELEASE QA Contact: Gonza <grafuls>
Severity: low Docs Contact:
Priority: high    
Version: 3.5.0CC: bazulay, bgraveno, bugs, gklein, iheim, lpeer, lsurette, mgoldboi, oourfali, oramraz, rbalakri, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ovirt-4.0.0-alphaKeywords: FutureFeature, Reopened
Target Release: 4.0.0Flags: rule-engine: ovirt-4.0.0+
pnovotny: testing_plan_complete+
rule-engine: planning_ack+
alonbl: devel_ack+
pstehlik: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt 4.0.0 alpha1 Doc Type: Enhancement
Doc Text:
The SAM user format of profile\user is no longer supported.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 07:52:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1092744    
Bug Blocks: 1076964    

Description Yair Zaslavsky 2014-06-03 10:00:06 UTC
Description of problem:

From looking at REST-API code I saw there is support (probably back from 2.2 days) for domain\user format.
This support should probably be removed.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Yair Zaslavsky 2014-07-26 13:06:48 UTC
This collides with BZ1123545.
Turns out that is still still used.
So we should reach a decision whether to support non UPN formats or not.

If we we do want to fix  PROFILE\user format, the fix should be around

BasicAutnenticationFilter.java

And also check the web.xml of the rest-api - web-app -


 <filter>
    <filter-name>BasicAuthenticationFilter</filter-name>
    <filter-class>org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter</filter-class>
    <init-param>
      <param-name>user-name-format</param-name>
      <param-value>UPN</param-value>
    </init-param>
  </filter>

Comment 4 Alon Bar-Lev 2015-11-17 12:43:04 UTC
In 4.0 we can just drop this, no need to be backward compatible.

Comment 5 Alon Bar-Lev 2015-12-01 09:13:07 UTC
Ravi, this should be trivial.

Comment 6 Ravi Nori 2015-12-01 15:22:28 UTC
Fixed as part of SSO work

Comment 7 Red Hat Bugzilla Rules Engine 2015-12-01 15:26:00 UTC
Fixed bug tickets must have version flags set prior to fixing them. Please set the correct version flags and move the bugs back to the previous status after this is corrected.

Comment 8 Red Hat Bugzilla Rules Engine 2015-12-01 15:26:00 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 9 Red Hat Bugzilla Rules Engine 2015-12-01 15:26:00 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 10 Red Hat Bugzilla Rules Engine 2015-12-01 15:27:50 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 11 Red Hat Bugzilla Rules Engine 2015-12-01 15:27:50 UTC
This request has been proposed for two releases. This is invalid flag usage. The ovirt-future release flag has been cleared. If you wish to change the release flag, you must clear one release flag and then set the other release flag to ?.

Comment 12 Gonza 2016-06-15 09:08:06 UTC
Verified with:
ovirt-engine-4.1.0-0.0.master.20160605051229.gitb398fa2.el7.centos.noarch

Comment 13 Sandro Bonazzola 2016-07-05 07:52:16 UTC
oVirt 4.0.0 has been released, closing current release.