Uploaded image for project: 'WORKTERRA'
  1. WORKTERRA
  2. WT-11069

Hi Trust - Daily check for password expire - mid night service

    Details

    • Type: Change Request
    • Status: Production Complete
    • Priority: Medium
    • Resolution: Bug Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Platform
    • Labels:
      None
    • Module:
      Platform - Security
    • Reported by:
      Support
    • Item State:
      LB QA - On Hold
    • Sprint:
      WT Sprint 38 - Enhancement
    • Severity:
      Complex

      Description

      • Need to write midnight service that will sent email for password expires.
      • If "Reminder for password change before expire" set to true , then service will send password expire email to user else no email send..
      • This service will send email till password is not expire or changed.
      • Email frequency should be daily.
      • This functionality for all user (Admin ,Partner,Broker)

      CC : Jaideep Vinchurkar SatyaVijay Siddha

        Attachments

        1. Service mail.jpg
          Service mail.jpg
          280 kB
        2. WT_11069.jpg
          WT_11069.jpg
          251 kB
        3. WT_11069 (fa1be255-6b74-4e85-ba30-8ce2fa1fd412).jpg
          WT_11069 (fa1be255-6b74-4e85-ba30-8ce2fa1fd412).jpg
          290 kB
        4. WT-11069.jpg
          WT-11069.jpg
          242 kB
        5. WT-11069.xls
          18 kB

          Issue Links

            Activity

            Hide
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment -

            Daily check for password expire - mid night service

            New Implementation :

            • Need to create midnight service that will sent email for password expires.
            • This service will run for active users (Admin ,Partner,Broker)
            • Service will send password expiration emails to those company having "No automatic expiration" and "The number of days prior to password expiration" set to non Zero.
            • This service will send email till password is not expire.
            • Password expiration email send frequency should be daily at mid night.
            • Development Efforts :*
              *User Interface Changes : *No UI changes required.

            Business logic Changes :

            • Get all user list whose password will be about expired with his First Name, Last Name,Email ID,Last Date of Password Changed, Password expire within days.
            • Email will send to all Active user (Admin,Partner,Broker) directly.
            • Send Password expirartion mail to user one by one with all detaills.
            • Need to integtate all business logic into to existing mid night service

            Database Changes :

            • Write a Script to retive all active and Non HSPL companies having "No automatic expiration" and "The number of days prior to password expiration" set to non Zero.
            • Write a Script that return all formatted user data whose password is about to expires in grid with First Name, Last Name ,Email ID,Last Date of Password Changed, Password expire within days.

            Testing (Test Scenario) :

            1. Email should be with proper details.
            2. Email should be send prior day of "The number of days prior to password expiration" before expires and afterwards till user not change password.
            3. Every user should be received email one time in a day.
            4. Logging proper Email log (failure and success).
            5. Should not received once user change password.
            Show
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment - Daily check for password expire - mid night service New Implementation : Need to create midnight service that will sent email for password expires. This service will run for active users (Admin ,Partner,Broker) Service will send password expiration emails to those company having "No automatic expiration" and "The number of days prior to password expiration" set to non Zero. This service will send email till password is not expire. Password expiration email send frequency should be daily at mid night. Development Efforts :* *User Interface Changes : *No UI changes required. Business logic Changes : Get all user list whose password will be about expired with his First Name, Last Name,Email ID,Last Date of Password Changed, Password expire within days. Email will send to all Active user (Admin,Partner,Broker) directly. Send Password expirartion mail to user one by one with all detaills. Need to integtate all business logic into to existing mid night service Database Changes : Write a Script to retive all active and Non HSPL companies having "No automatic expiration" and "The number of days prior to password expiration" set to non Zero. Write a Script that return all formatted user data whose password is about to expires in grid with First Name, Last Name ,Email ID,Last Date of Password Changed, Password expire within days. Testing (Test Scenario) : Email should be with proper details. Email should be send prior day of "The number of days prior to password expiration" before expires and afterwards till user not change password. Every user should be received email one time in a day. Logging proper Email log (failure and success). Should not received once user change password.
            Hide
            vishal.bajad Vishal Bajad (Inactive) added a comment -

            Hi ,

            We have done with code changes and unit testing and ready for review.

            Affected Files:

            • /trunk/WORKTERRAweb/Database Objects/OnlineEnrollment/04_Stored Procedures/dbo.OES_SP_GetSystemUserListForPasswordExpired.sql - Newly Added
            • /trunk/WORKTERRAweb/App/Supporting Projects/ServiceScheduler/PasswordExpirationNotification.vb - Newly Added
            • /trunk/WORKTERRAweb/App/Supporting Projects/ServiceScheduler/App.config
            • /trunk/WORKTERRAweb/App/Supporting Projects/ServiceScheduler/ServiceScheduler.vb

            Jaideep Vinchurkar Please have a review.

            Thanks !

            Show
            vishal.bajad Vishal Bajad (Inactive) added a comment - Hi , We have done with code changes and unit testing and ready for review. Affected Files : /trunk/WORKTERRAweb/Database Objects/OnlineEnrollment/04_Stored Procedures/dbo.OES_SP_GetSystemUserListForPasswordExpired.sql - Newly Added /trunk/WORKTERRAweb/App/Supporting Projects/ServiceScheduler/PasswordExpirationNotification.vb - Newly Added /trunk/WORKTERRAweb/App/Supporting Projects/ServiceScheduler/App.config /trunk/WORKTERRAweb/App/Supporting Projects/ServiceScheduler/ServiceScheduler.vb Jaideep Vinchurkar Please have a review. Thanks !
            Hide
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment -

            Hi Vishal Bajad,

            Below are my review comments, Please do the changes accordingly,

            File name Review Comment
            OES_SP_GetSystemUserListForPasswordExpired add 'systemusers.isLoginDisabled = 0' in where clause
            PasswordExpirationNotification.vb 1. add new email message category and format for password expire email notification 2. Use dictionary instead of UsersPassExpiedHash 3. Add lock on newly added file
            Show
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment - Hi Vishal Bajad , Below are my review comments, Please do the changes accordingly, File name Review Comment OES_SP_GetSystemUserListForPasswordExpired add 'systemusers.isLoginDisabled = 0' in where clause PasswordExpirationNotification.vb 1. add new email message category and format for password expire email notification 2. Use dictionary instead of UsersPassExpiedHash 3. Add lock on newly added file
            Hide
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment -

            Good to LB check in

            Show
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment - Good to LB check in
            Hide
            vishal.bajad Vishal Bajad (Inactive) added a comment -

            Hi Ashwin Wankhede / Khandu Kshirsagar ,

            We need to add batch file in scheduler to run this service daily at around 1.00 AM. Please do the needful or share process to add batch file once this patch gets deployed on LB.

            Thanks !

            CC : Jaideep Vinchurkar

            Show
            vishal.bajad Vishal Bajad (Inactive) added a comment - Hi Ashwin Wankhede / Khandu Kshirsagar , We need to add batch file in scheduler to run this service daily at around 1.00 AM. Please do the needful or share process to add batch file once this patch gets deployed on LB. Thanks ! CC : Jaideep Vinchurkar
            Hide
            khandu.kshirsagar Khandu Kshirsagar (Inactive) added a comment -

            Hi Vishal Bajad

            Batch file is added in Scheduler(On LB). and job created which will run daily at 1 am.

            Ashwin Wankhede,Jaideep Vinchurkar

            Show
            khandu.kshirsagar Khandu Kshirsagar (Inactive) added a comment - Hi Vishal Bajad Batch file is added in Scheduler(On LB). and job created which will run daily at 1 am. Ashwin Wankhede , Jaideep Vinchurkar
            Hide
            priya.handepatil Priya Handepatil (Inactive) added a comment -
            Show
            priya.handepatil Priya Handepatil (Inactive) added a comment - Hello Vishal Bajad Please refer Test Cases WT-11069.xls cc: Sachin Hingole Prasad Pise Rakesh Roy Hrishikesh Deshpande Thank you !
            Hide
            priya.handepatil Priya Handepatil (Inactive) added a comment -

            Hi Vishal Bajad

            I Will re verify this ticket once WT-11508 will get fixed on LB

            cc: Sachin Hingole Prasad Pise Rakesh Roy Hrishikesh Deshpande

            Thank you !

            Show
            priya.handepatil Priya Handepatil (Inactive) added a comment - Hi Vishal Bajad I Will re verify this ticket once WT-11508 will get fixed on LB cc: Sachin Hingole Prasad Pise Rakesh Roy Hrishikesh Deshpande Thank you !
            Hide
            priya.handepatil Priya Handepatil (Inactive) added a comment -

            Hi Vishal Bajad

            I have verified this change request on LB

            Verified With Companies " For QA City Of Durham and For QA Matt

            Verified with Multiple Company Admin Logins

            Individual Mails to Change password is coming to Admin user

            As Disscussed with Jaideep Vinchurkar Summary of Mails to Change password are not Coming

            Hence, Reopening This ticket

            cc: Sachin Hingole Prasad Pise Rakesh Roy Hrishikesh Deshpande

            Thank you !

            Show
            priya.handepatil Priya Handepatil (Inactive) added a comment - Hi Vishal Bajad I have verified this change request on LB Verified With Companies " For QA City Of Durham and For QA Matt Verified with Multiple Company Admin Logins Individual Mails to Change password is coming to Admin user As Disscussed with Jaideep Vinchurkar Summary of Mails to Change password are not Coming Hence, Reopening This ticket cc: Sachin Hingole Prasad Pise Rakesh Roy Hrishikesh Deshpande Thank you !
            Hide
            vishal.bajad Vishal Bajad (Inactive) added a comment -

            Hi Priya Handepatil ,

            I am able to see password expiry notification summary mails, Please find attached snap regarding the same.

            Snapshot :

            Please confirm and let me know if you have any query.

            Thanks
            CC : Jaideep Vinchurkar Sachin HingolePrasad PiseRakesh RoyHrishikesh Deshpande

            Show
            vishal.bajad Vishal Bajad (Inactive) added a comment - Hi Priya Handepatil , I am able to see password expiry notification summary mails, Please find attached snap regarding the same. Snapshot : Please confirm and let me know if you have any query. Thanks CC : Jaideep Vinchurkar Sachin Hingole Prasad Pise Rakesh Roy Hrishikesh Deshpande
            Hide
            priya.handepatil Priya Handepatil (Inactive) added a comment -

            Hi Vishal Bajad

            I have verified this issue

            Summary of Mails to Change password are appearing

            Hence, Marking it as on Hold because, All Tickets will move ahead together on stgae

            cc: Sachin Hingole Prasad Pise Rakesh Roy Hrishikesh Deshpande

            Thank You !

            Show
            priya.handepatil Priya Handepatil (Inactive) added a comment - Hi Vishal Bajad I have verified this issue Summary of Mails to Change password are appearing Hence, Marking it as on Hold because, All Tickets will move ahead together on stgae cc: Sachin Hingole Prasad Pise Rakesh Roy Hrishikesh Deshpande Thank You !

              People

              Assignee:
              sachin.hingole Sachin Hingole (Inactive)
              Reporter:
              vishal.bajad Vishal Bajad (Inactive)
              Developer:
              Vishal Bajad (Inactive)
              QA:
              Priya Handepatil (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Dev Due Date:
                Pre-Prod Due Date:
                Production Due Date:
                Code Review Date:

                  Time Tracking

                  Estimated:
                  Original Estimate - 28h Original Estimate - 28h
                  28h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 34.75h
                  34.75h