Coder Social home page Coder Social logo

pswdplus's Introduction

Download license

What is this component for ?

cuba-pswdplus is a CUBA Platform component that provides "out of the box" password history validation to an existing application. It allows the app administrator to activate and configure the validation.

A coming version will add support for password expiration and thus, it will allow a CUBA application to be deployed in corporate environments with strict password requirements.

Installation

  1. cuba-pswdplus is available in the CUBA marketplace
  2. The component was tested only in platform version 6.10.x

The latest version is: Download

To install the component, you have to add the repository and the component in CUBA Studio or in a build.gradle file. The complete add-ons installation guide is explained in CUBA Platform documentation

Add a custom application component to your project:

  • Artifact group: ar.com.osmosys.pswdplus
  • Artifact name: pswdplus-global
  • Version: add-on version

Configuration

Once you've installed the component and run your app for the first time, open the Application Properties screen in the Administrator menu. You will see a new entry named pswdplus:

Screenshot Application Properties

There are two properties to configure:

  • usePswdHistory: boolean value, true if you want to enable password history. Setting it to false will not delete already stored passwords.

  • pswdHistoryLength: number of used passwords that will be stored in the database for a each user. For instance, if pswdHistoryLength=10 the component will validate a new password against the last 10 used passwords for that user. The password log follows a FIFO rule, once a new password is stored in the log, the oldest is hard deleted.

In Action

The validation is performed when the user changes his password himself or it is changed by the admin. If the entered new password is already in the password history log, then an alert is shown on the screen.

Screenshot Alert

Localization

At this version, only English and Spanish messages are supported.

Database support

At this version, only MySQL database is supported out of the box. Scripts for any other database engine should be created by the user.

Log table

The last n passwords are stored in a table named PSWDPLUS_PASSWORD_HISTORY. As said before, there is no need to maintain the table, since it follows a FIFO rule. Once a new record for a user is created, the component deletes the oldest one.

pswdplus's People

Contributors

pakuda 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.