GitHub user mike-jumper opened a pull request:
https://github.com/apache/incubator-guacamole-client/pull/100
GUACAMOLE-36: Add support for password policies
This change adds support to the database authentication backend for
password policies defined within `guacamole.properties` which control the
complexity of passwords allowed for database user accounts.
The restrictions allow for controlling:
1. Minimum password length
2. Required character classes (uppercase/lowercase, digits, symbols, etc.)
3. Whether the password can contain the username
The properties take the form:
```ini
# PostgreSQL properties
postgresql-user-password-min-length: 8
postgresql-user-password-prohibit-username: true
postgresql-user-password-require-multiple-case: true
postgresql-user-password-require-digit: true
postgresql-user-password-require-symbol: true
# MySQL properties
mysql-user-password-min-length: 8
mysql-user-password-prohibit-username: true
mysql-user-password-require-multiple-case: true
mysql-user-password-require-digit: true
mysql-user-password-require-symbol: true
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mike-jumper/incubator-guacamole-client
password-policies
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-guacamole-client/pull/100.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #100
----
commit 14e8c6fc50c02ace58d18b18d564948a03ec58db
Author: Michael Jumper <[email protected]>
Date: 2016-08-22T20:14:12Z
GUACAMOLE-36: Provide access to modeled object within beforeUpdate().
commit ec34449fd08fdfe537869d97e0020ec8bd4f1c9b
Author: Michael Jumper <[email protected]>
Date: 2016-08-22T20:25:01Z
GUACAMOLE-36: Provide access to object within beforeCreate().
commit 3744755a1ecf134d111b7cd3287496b06cce514f
Author: Michael Jumper <[email protected]>
Date: 2016-08-17T22:19:47Z
GUACAMOLE-36: Define and enforce password policies.
commit 66f00adab0b36426c0ece319b0eb6ee9334f1aa0
Author: Michael Jumper <[email protected]>
Date: 2016-08-22T21:06:53Z
GUACAMOLE-36: Do not automatically generate random passwords at the REST
API level.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---