Bug 884653

Summary: [RFE][AAA] support single sign-on to user and admin portals
Product: Red Hat Enterprise Virtualization Manager Reporter: Petr Spacek <pspacek>
Component: RFEsAssignee: Alon Bar-Lev <alonbl>
Status: CLOSED ERRATA QA Contact: Ondra Machacek <omachace>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.1.0CC: alexey, alonbl, anande, bsettle, djasa, djuran, dpal, ecohen, gchakkar, iheim, jfenal, lmiccini, lpeer, luvilla, marcandre.lureau, mkosek, myllynen, nobody, oourfali, pablo.iranzo, perobins, pspacek, pstehlik, rbalakri, rcritten, Rhev-m-bugs, sherold, sigbjorn, sputhenp, ssorce, subjrs, ylavi
Target Milestone: ---Keywords: FutureFeature, TechPreview
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: vt2.2 Doc Type: Technology Preview
Doc Text:
Tech Preview ============ Package(s) providing the Technology Preview: Description of the Technology Preview: ---------------------------------------------------- Release Note ============ - When SSO is used: the "sign out" button in the User Portal and Admin Portal will not function at all, i.e. the user will remain logged in even after clicking "sign out". For properly signing out, the user would need to sign out from the SSO provider. - When SSO is not used: the "sign out" button in the User Portal and Admin Portal will not function in case the user has previously accessed the rest-api via the same browser session. In order to properly sign out, the user would need to completely close the browser, re-open it and re-access the desired application (which will now require the user to login).
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-11 17:51:02 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:    
Bug Blocks: 1113937, 1142923, 1156165    

Description Petr Spacek 2012-12-06 13:50:01 UTC
Description of problem:
Current user and admin portal doesn't support SSO. It would be nice to support SSO to user and admin portals.

AFAIK it doesn't add any new requirement for installation, because Kerberos have to be in place anyway. It will "just" save single login/password dialog to the user (and will result in more secure authentication...)

RHEV-M 3.1 requires Kerberos for directory services to work as stated in
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1/html-single/Installation_Guide/index.html#sect-Software_Requirements section 2.3.4.2. "Directory Services Support in Red Hat Enterprise Virtualization".

  
Actual results:
User is asked for login and password (via web form) before each access to user and admin portals.


Expected results:
User is automatically logged in when it has Kerberos ticket. Login/password prompt is shown when ticket is not available or is invalid.


Additional info:
Feel free to contact freeipa-devel with questions about Kerberos integration.

Some integration examples can be found at http://freeipa.org/page/HowTos#3rd_party_Applications_Integration

Plain libvirt+Kerberos integration is described at http://freeipa.org/page/Libvirt_with_VNC_Consoles

Comment 1 Itamar Heim 2012-12-06 19:46:18 UTC
related to bug 570191

Comment 2 Pavel Zhukov 2013-06-10 08:18:19 UTC
*** Bug 971504 has been marked as a duplicate of this bug. ***

Comment 3 Sigbjorn Lie 2013-08-27 21:44:37 UTC
Could the existing mod_auth_kerb be used to handle the authentication?

We use this with several web sites today and we know it works, both with IPA and with Active Directory at the same time.

Comment 5 Dmitri Pal 2013-12-19 01:37:24 UTC
We have a design now.
http://www.ovirt.org/Features/SSO
Alon Bar Lev might know more about when it will be implemented.

Comment 11 Luca Miccini 2014-06-27 10:12:57 UTC
Hi Alon, 

bug#570191 seems to be about: 

"support Kerberos authentication (for REST API)"

or are you suggesting (as per your comment #10 and the reference to http://www.freeipa.org/page/Web_App_Authentication) that in 3.5 we are going to delegate the entire authentication to apache?

Comment 12 Alon Bar-Lev 2014-06-27 12:44:24 UTC
(In reply to Luca Miccini from comment #11)
> Hi Alon, 
> 
> bug#570191 seems to be about: 
> 
> "support Kerberos authentication (for REST API)"
> 
> or are you suggesting (as per your comment #10 and the reference to
> http://www.freeipa.org/page/Web_App_Authentication) that in 3.5 we are going
> to delegate the entire authentication to apache?

yes, see bug#1113937 as well. we will release this as technology preview for 3.5.

Comment 13 Alon Bar-Lev 2014-07-21 10:36:44 UTC
Support for SSO customization will be available at 3.5.0, see bug#1113937.

Comment 17 Alon Bar-Lev 2014-11-04 08:38:11 UTC
Move doc note to block, remove from documentation, no reason to document same feature several times.

Comment 19 errata-xmlrpc 2015-02-11 17:51:02 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/RHSA-2015-0158.html