Details

    • Type: Sub-task
    • Status: Done
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Company:
      All Clients/Multiple Clients

      Description

      Sign In Post API

      Tasks in this Jira : 

      1. Encrypt password coming from web
      2. Search in Users table if user is present and validate encrypted password with password present in database
      3. If not present , return appropriate status and message. If user present ,return token.
      4. After login, redirect to Review and sign page.

        Attachments

          Activity

          Hide
          ramya.tantry Ramya Tantry (Inactive) added a comment -

          Task details (12/17/2018)

          • Cipher tool file creation in App Logic
          • Discussion with Nandkumar
          • Validate users with user in DB

          CC : Swapnil Pandhare, Samir

          Show
          ramya.tantry Ramya Tantry (Inactive) added a comment - Task details (12/17/2018) Cipher tool file creation in App Logic Discussion with Nandkumar Validate users with user in DB CC : Swapnil Pandhare , Samir
          Hide
          ramya.tantry Ramya Tantry (Inactive) added a comment -

          Hi Swapnil Pandhare,

          The sample response for Success :

          { "id": 1, "userName": "DMSUSER", "password": null, "token": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6IjEiLCJuYmYiOjE1NDUxMzgzNzQsImV4cCI6MTU0NTc0MzE3NCwiaWF0IjoxNTQ1MTM4Mzc0fQ.3wCbVdcp0SHyNMHbG559dPNZda4e5qSDWODNAJ0Pp7E", "firstName": "DMSUserFirstname", "lastName": "DMSLastname" }

          Sample +response for User not found:+ 

          { "status": "error", "message": "User does not exists.", "errorLevel": "Error", "code": 404, "description": "User does not exists." }

          Sample +response for incorrect details :+

          { "status": "error", "message": "Username or password is incorrect", "errorLevel": "Error", "code": 404, "description": "Username or password is incorrect" }

          Please let me know if any changes in these responses are required.

          Show
          ramya.tantry Ramya Tantry (Inactive) added a comment - Hi Swapnil Pandhare , The sample response for Success : { "id": 1, "userName": "DMSUSER", "password": null, "token": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6IjEiLCJuYmYiOjE1NDUxMzgzNzQsImV4cCI6MTU0NTc0MzE3NCwiaWF0IjoxNTQ1MTM4Mzc0fQ.3wCbVdcp0SHyNMHbG559dPNZda4e5qSDWODNAJ0Pp7E", "firstName": "DMSUserFirstname", "lastName": "DMSLastname" } Sample +response for User not found:+  { "status": "error", "message": "User does not exists.", "errorLevel": "Error", "code": 404, "description": "User does not exists." } Sample +response for incorrect details :+ { "status": "error", "message": "Username or password is incorrect", "errorLevel": "Error", "code": 404, "description": "Username or password is incorrect" } Please let me know if any changes in these responses are required.
          Hide
          ramya.tantry Ramya Tantry (Inactive) added a comment -

          Task Details (12/18/2018)

          • Move logic to AppLogic
          • Cipher tool Nugetpkg installation
          • Discussion with Swapnil
          • Code changes
          • Unit testing

          CC: Swapnil Pandhare

          Show
          ramya.tantry Ramya Tantry (Inactive) added a comment - Task Details (12/18/2018) Move logic to AppLogic Cipher tool Nugetpkg installation Discussion with Swapnil Code changes Unit testing CC: Swapnil Pandhare
          Hide
          ramya.tantry Ramya Tantry (Inactive) added a comment -

          Task Details (12/19/2018)

          • Merging with Develop branch
          • resolving conflict and merge  issues 
          • Unit testing

          CC: Swapnil Pandhare

          Show
          ramya.tantry Ramya Tantry (Inactive) added a comment - Task Details (12/19/2018) Merging with Develop branch resolving conflict and merge  issues  Unit testing CC: Swapnil Pandhare
          Hide
          swapnil.pandhare Swapnil Pandhare (Inactive) added a comment -

          Hi All,

          As per discussion with Samir, marking this as done.

          Thanks,
          Swapnil P.

          Show
          swapnil.pandhare Swapnil Pandhare (Inactive) added a comment - Hi All, As per discussion with Samir, marking this as done. Thanks, Swapnil P.
          Hide
          jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

          Verified on preproduction
          Working fine.

          Related bugs are logged.

          Marking item state as Done.

          Thanks,
          Jayshree

          cc - Priya Dhamande

          Show
          jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Verified on preproduction Working fine. Related bugs are logged. Marking item state as Done. Thanks, Jayshree cc - Priya Dhamande

            People

            Assignee:
            jayshree.nagpure Jayshree Nagpure (Inactive)
            Reporter:
            samir Samir
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 16h
                16h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 16h
                16h