Giter Site home page Giter Site logo

password_policy's Introduction

password_policy

This is a Drupal 8 module for the Password Policy module. This is comprised of constraints and policies.

Constraints are different ways that you can restrict a password. A policy is an instance of a constraint that define specific parameters for the constraint.

Policies are applied through Drupal's role-based permissions system.

Password Policy comes bundled with a password expiration feature. Policies define a time-based expiration logic (based on days) and administrators have the ability to manually expire all passwords by role.

Enable

  • Download and enable the module

Plugins

All plugins are installed as separate modules. The only policies that are out of the box is the Password Reset feature.

Configure

  • Enable all plugin modules
  • Go to Password Policy's configuration page (/admin/config/security/password/settings)
  • Add policies by clicking on the tab for each plugin
  • Go to the permissions page (/admin/people/permissions)
  • Select which roles the policies applies to

Architecture

  • Password policy provides a plugin manager that defines an interface for constraints and the constraint's policies
  • Policies are implemented as permissions and enforced on the user form
  • Password expiration implements an event subscriber and forces a user to his/her user form upon expiration
  • Password time-based expiration leverages cron for tagging accounts as expired

password_policy's People

Contributors

adam-bergstein avatar craigmoore avatar eclipsegc avatar lahoosascoots avatar nerdstein avatar

Watchers

 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.