GithubHelp home page GithubHelp logo

mvc-based-password-filters-using-intercepting-filter-design-pattern's Introduction

MVC based Password Filters using Intercepting Filter Design Pattern

Used Intercepting filter design pattern to create password filters which takes as input a password and will display the password and a message if it is valid or invalid according to a set of rules based on Model View Controller Architecture using Java.

The filters used are:

(a) Offensive Filter: It has a list of strings => "abc", "def", "ghi". So this list of strings are considered as the offensive words. If the input is offensive it will be filtered.

(b) EasyPasswordFilter: It has a list of strings => "Disney", "Mickey", "Donald". The application filters easy passwords based on this list.

(c) SaltingFilter: Salting filter will add salt string which is "salt12345" at the end of the given password.


Instructions

  • My MVC Application uses Swings to create GUI. To execute the application run the main class of this application called 'mainClass' located in package 'MVC_Classes'.
  • MVC classes are in package 'MVC_Classes' and all intercepting design filter classes are in package called 'InterceptingFilter_Classes'.
  • The application assumes that the user will select different and unique drop down options.
  • The password field (from swing library) is used to take input so the input text is bullets (hidden like a password) and not text.
  • The 'check Password' button checks for three types of filters in the order they are assigned. Order is specified by taking 1, 2 or 3 in the drop down menu.
  • The output is checked for empty input and same drop down options.
  • The output is displayed right below the 'check Password' submit button after you click the button.
  • The Output shows the given password and if it is valid or invalid.

mvc-based-password-filters-using-intercepting-filter-design-pattern's People

Contributors

jasdeepbhalla avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.