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) Mapping)
(Auth Retrieval (GET) Mapping)
Line 12: Line 12:
  
 
=== Auth Retrieval (GET) Mapping ===
 
=== Auth Retrieval (GET) Mapping ===
 +
uid=4000002,ou=people,dc=stoney-cloud,dc=org
 +
 
{| border="1" class="wikitable sortable"
 
{| border="1" class="wikitable sortable"
 
! API Attribute
 
! API Attribute

Revision as of 14:03, 1 May 2014

Also visit stoney core: Authentication Resource - REST API.

Overview

Auth Action

Auth Retrieval (GET)

The following sequence describes the authentication and role retrieval:

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

Auth Retrieval (GET) Mapping

uid=4000002,ou=people,dc=stoney-cloud,dc=org

API Attribute LDAP Attribute
id uid
user mail

Links