Uploaded image for project: 'Poulpe'
  1. Poulpe
  2. POULPE-460

Log in as REST service

VotersWatchers
    XMLWordPrintable

    Details

    • Sprint:
      1.2 Swallows, 1.3 Swallows

      Description

      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>
      

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  varro Artem R
                  Reporter:
                  ctapobep Stanislav Bashkyrtsev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 20h Original Estimate - 20h
                    20h
                    Remaining:
                    Remaining Estimate - 0h
                    0h
                    Logged:
                    Time Spent - 34.5h
                    34.5h

                      Structure Helper Panel