Feature #967

Support LDAP authentication in Sunstone

Added by Javi Fontan 6 months ago. Updated about 1 month ago.

Status:Closed Start date:11/07/2011
Priority:Normal Due date:
Assignee:Daniel Molina % Done:

100%

Category:Sunstone
Target version:Release 3.4 - Beta
Resolution:fixed
Story points-
Velocity based estimate-

Description

Sunstone is not able to use LDAP authentication.

LdapCloudAuth.rb (2 kB) Rolandas Naujikas, 02/25/2012 04:30 pm

SunstoneCloudAuth.rb (1.8 kB) Rolandas Naujikas, 02/25/2012 08:45 pm

Associated revisions

Revision 2d471abd
Added by Daniel Molina about 1 month ago

feature #967: CloudAuth thread safe

Revision 133a1413
Added by Daniel Molina about 1 month ago

feature #967: Fix retrieve from userpool

Revision b87cce74
Added by Daniel Molina about 1 month ago

feature #967: Fix xpath expression

Revision 244afde3
Added by Daniel Molina about 1 month ago

feature #967: Fix sync in CloudAuth

Revision 0931fdaa
Added by Daniel Molina about 1 month ago

feature #967: Fix token generation

Revision f433e6f0
Added by Ruben S. Montero about 1 month ago

feature #967: Fix method scope

History

Updated by Ruben S. Montero 6 months ago

  • Assignee set to C12G Support Team
  • Target version set to Release 3.4

Updated by Ruben S. Montero 4 months ago

  • Target version deleted (Release 3.4)

Updated by Ruben S. Montero 4 months ago

  • Target version set to Release 3.4

Updated by Rolandas Naujikas 3 months ago

My first working version of subject. I used code from ldap/authentificate and SunstoneCloudAuth.rb.
To use it you need register LdapCloudAuth in CloudAuth.rb and set ":auth: ldap" in sunstone-server.conf.
Feature of user auto registering in OpenNebula doesn't work as with CLI, so users should be registered in advance.

Updated by Rolandas Naujikas 3 months ago

I found probably even more general solution, but probably slower.
I attached changed SunstoneCloudAuth.rb. With this code it should work for core and ldap drivers (even auto registration works).

Updated by Rolandas Naujikas 3 months ago

I put our private ONE_XMLRPC address, forget it.

Updated by Ruben S. Montero 3 months ago

  • Target version changed from Release 3.4 to Release 3.4 - Beta

Updated by Daniel Molina 3 months ago

Hi Rolandas,

These patches are perfect for including the LDAP authentication in Sunstone. We are improving the CloudAuth authentication for the next release taking into account these patches. Thanks for the contribution.

Updated by Daniel Molina about 1 month ago

  • Assignee changed from C12G Support Team to Daniel Molina

Updated by Daniel Molina about 1 month ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
  • Resolution set to fixed

A new OpenNebulaCloudAuth module has been included to use the specified user driver

Also available in: Atom PDF