-
Type: Story
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 0.20 Swallows
-
Fix Version/s: 1.3 Swallows, 1.5 Swallows, 1.4 Swallows
-
Labels:None
-
Sprint:1.2 Swallows, 1.3 Swallows
As an Antarcticle developer I'd like to expose information about user and log in functionality as a REST service so that I can authenticate users against shared database
Acceptance Criteria:
- REST service exposes functionality for log in and accepts username and MD5 hash of password
- The service checks whether such credentials satisfy login and if yes, as a response, sends username, lastName, firstName of the user.
Expected messages format:
POST request from client:
<authentication> <credentials> <username>username_here</username> <passwordHash>password_hash_here</passwordHash> </credentials> </authentication>
Authentication success response from poulpe:
<authentication> <credentials> <username>username_here</username> </credentials> <status>success</status> <profile> <firstName>John</firstName> <lastName>Smith</lastName> </profile> </authentication>
Authentication failure response from poulpe:
<authentication> <credentials> <username>username_here</username> </credentials> <status>fail</status> <statusInfo>Incorrect username or password</statusInfo> </authentication>
- relates to
-
POULPE-499 Login REST service should react on GET requests
- Closed