Skip to content
/ pwv Public

Innova Solutions Interview Project Test - Password Validation Service

Notifications You must be signed in to change notification settings

lintsai/pwv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Password Validation Service

Innova Solutions Interview Project Test

pwv=Password Validation Service

github: https://github.com/lintsai/pwv

Instructions

Write a password validation service, meant to be configurable via IoC (using dependency injection engine of your choice). The service is meant to check a text string for compliance to any number of password validation rules. The rules currently known are:

  • Must consist of a mixture of lowercase letters and numerical digits only, with at least one of each.
  • Must be between 5 and 12 characters in length.
  • Must not contain any sequence of characters immediately followed by the same sequence.

For any questions or clarifications, please email us back and we’ll get back to you as soon as we can.

Include all artifacts in a zip file and please let us know how many hours you spent on the programming problem. The project should include a build capability in one of the following tools, Eclipse, IntelliJ, ant, or maven. The project should be ready for insertion into a production system. Show tests for the service and any constituent classes involved in fulfillment of the service. Also, show how to access and use the service at runtime.

Keys

  • Ask questions, confirm your understanding
  • Read the requirements, read them again
  • Professional quality work is important, should be a solution you are proud of
  • Take your time and avoid sloppy mistakes caused by rushing
  • SOLID design principles
  • Apply sensible design patterns
  • Use dependency injection in a sensible way given the problem
  • Solution should be extensible
  • Solution should be maintainable
  • Automated test should fully exercise the code and prove it works
  • Show both unit tests and integration tests
  • Apply the same design principles to the test code that you apply to the actual code
  • Ask questions, confirm your understanding

Framework

  • Java 17
  • Spring Boot 3.1.1
  • Spring Boot Thymeleaf
  • JavaScript
  • Html

API Spec

  • requests to the /validator to check the password
/validator?password={input.value}
  • response a json value
key=validation rules
value=true/false
  • Example
http://localhost:8080/validator?password={input.value}

Test Page

http://localhost:8080/

  1. input "Enter Password"
  2. check "Submit" button
  3. "Valid" response PASS/FAIL
  4. "Output" show full response

About

Innova Solutions Interview Project Test - Password Validation Service

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published