Bug 1296274

Summary: [RFE] Login page have a configurable default
Product: Red Hat Enterprise Virtualization Manager Reporter: Sarvesh Pandit <sapandit>
Component: ovirt-engineAssignee: Ravi Nori <rnori>
Status: CLOSED ERRATA QA Contact: Pavel Novotny <pnovotny>
Severity: high Docs Contact:
Priority: high    
Version: 3.5.0CC: audgiri, lsurette, melewis, mgoldboi, michal.skrivanek, mperina, oourfali, pnovotny, pstehlik, rbalakri, Rhev-m-bugs, rnori, srevivo, ykaul
Target Milestone: ovirt-4.0.0-rcKeywords: FutureFeature
Target Release: 4.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
With this update, a new configuration variable, ovirt.engine.aaa.authn.default.profile, has been added to the authn configuration file. Setting this variable ensures that the profile drop-down menu on the login page defaults to the selected profile. To configure this feature, add ovirt.engine.aaa.authn.default.profile to the authn configuration file for a selected profile and set the value to true then restart the ovirt-engine service. If the ovirt.engine.aaa.authn.default.profile variable is not defined in the authn configuration file the drop-down menu defaults to internal.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-23 20:31:17 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:

Description Sarvesh Pandit 2016-01-06 18:56:27 UTC
Description of problem:

Change the profile drop-down menu when you login to the webadmin to default to something other than internal.Login page have a configurable default. Right now it defaults to internal

Comment 5 Martin Perina 2016-05-18 09:08:39 UTC
Ravi, please update doc text with details how to set default profile for login dialog

Comment 9 Martin Perina 2016-05-20 07:48:00 UTC
Yes, added into the doc.

Comment 12 Pavel Novotny 2016-08-01 12:13:14 UTC
Verified in rhevm-4.0.2.3-0.1.el7ev.noarch.

Verification:
1. Create new profile 'internal2'.
2. Add 'ovirt.engine.aaa.authn.default.profile=true' to its authn configuration file.
3. Restart engine and open the SSO login page 
   (make sure that cookies for /ovirt-engine/sso path are cleared
    or use private browsing mode).

Result: 'internal2' profile is selected in the drop down list.

Note: If the variable 'engine.aaa.authn.default.profile' is not present in any authn configuration file, than 'internal' is always the default.

Comment 15 errata-xmlrpc 2016-08-23 20:31:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-1743.html