Bug 1139729 - webadmin and restapi shows wrong domain part of user_name(authz instead of ovirt.engine.aaa.authn.profile.name)
Summary: webadmin and restapi shows wrong domain part of user_name(authz instead of ov...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: bugs@ovirt.org
QA Contact: Ondra Machacek
URL:
Whiteboard: infra
Depends On:
Blocks: oVirt-AAA-rewrite
TreeView+ depends on / blocked
 
Reported: 2014-09-09 14:00 UTC by Ondra Machacek
Modified: 2014-09-09 14:56 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-09 14:21:23 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

Description Ondra Machacek 2014-09-09 14:00:14 UTC
Description of problem:


Version-Release number of selected component (if applicable):
rhevm-3.5.0-0.10.master.el6ev.noarch

How reproducible:
always

Steps to Reproduce:
1. Add some external provider.
2. See the user_names of users
https://localhost/api/domains/6c646170-2d61-7574-687a-2d61645f6164/users


Actual results:
user@authz

Expected results:
user@authn_profile_name


Additional info:
Same problem is in webadmin.

Comment 1 Alon Bar-Lev 2014-09-09 14:21:23 UTC
this is by design, the user is from the authz not from profile, as there may be multiple profiles with same authz.
for legacy providers profile == authz so no change in this regard.
for new providers this is not mandatory any more.

Comment 2 Ondra Machacek 2014-09-09 14:36:40 UTC
How can I distinguish(in webmadin/rest) between users with same name when I have 
two profiles with same authz? They will be displayed same...

Comment 3 Alon Bar-Lev 2014-09-09 14:40:07 UTC
(In reply to Ondra Machacek from comment #2)
> How can I distinguish(in webmadin/rest) between users with same name when I
> have 
> two profiles with same authz? They will be displayed same...

it is the same user... just two method to authenticate into that user.


Note You need to log in before you can comment on or make changes to this bug.