Showing posts with label Authentication. Show all posts
Showing posts with label Authentication. Show all posts

Monday, February 29, 2016

Work Term Update-February 2016

Authentication Adapter Work

During the month of February I mainly worked on an authentication adapter for CMD Server. There were three main components that I worked on.

Mock

Since we didn't have an authentication system running to test our adapter it was necessary to create a mock authentication service that would behave in the same way as the authentication system. We already had a mock that was working and that the testers knew how to use so I created one that behaved the same way for this authentication system.

Basically a user would specify their username like this
au:50,false,ENROLL,SUCCESS,1200,

the au indicates that the user should be authenticated
50 indicates the number of days left until their password expires
false indicates whether or not they want to change their password
ENROLL indicates that they need to be enrolled in security questions
SUCCESS indicates that the operation should be successful
1200 is the error code (in this case 1200 means successful)

Change Password & Forgot Password

In addition to the mock I worked on functionality for the change password and forgot password operations.