Difference between revisions of "stoney core: Authentication Resource Mapping (REST - LDAP)"

From stoney cloud
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Auth retrieval (GET))
(Auth retrieval (GET))
Line 7: Line 7:
 
#: Currently, this will be cn=Manager,dc=stoney-cloud,dc=org
 
#: Currently, this will be cn=Manager,dc=stoney-cloud,dc=org
 
#: Later on, this will be a [[stoney_core:_OpenLDAP_directory_data_organisation#Services | service user]].
 
#: Later on, this will be a [[stoney_core:_OpenLDAP_directory_data_organisation#Services | service user]].
# If the user exists, try to bind with the [[stoney_core:_OpenLDAP_directory_data_organisation#People_uid_.28per_person.29 | users credentials]]. For example:
+
# If the user exists, try to bind with the [[stoney_core:_OpenLDAP_directory_data_organisation#People_uid_.28per_person.29 | users credentials]].
#: <code>name.surname@example.com</code>
+
#: <code>myverysecretpassword</code>
+
 
# If the bind was successful, retrieve the users [[stoney_core:_OpenLDAP_directory_data_organisation#People_Roles | roles]].
 
# If the bind was successful, retrieve the users [[stoney_core:_OpenLDAP_directory_data_organisation#People_Roles | roles]].
  

Revision as of 16:55, 28 April 2014

Overview

Auth action

Auth retrieval (GET)

The following sequence describe the authentication and role retrieval:

  1. Look-up the user in the OpenLDAP directory (with a configurable user:
    Currently, this will be cn=Manager,dc=stoney-cloud,dc=org
    Later on, this will be a service user.
  2. If the user exists, try to bind with the users credentials.
  3. If the bind was successful, retrieve the users roles.

Links