Tagged articles

Password Validation

4 articles · Page 1 of 1
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 20, 2026 · Information Security

Simplify Password Validation with Passay: One‑Line Security in Java

This article shows how the open‑source Passay library replaces hand‑written password regex with a unified, extensible rule set, covering dependency setup, rule definitions, custom messages, N‑of‑M character requirements, history checks, and password generation, all demonstrated with runnable Java code.

MavenPassayPassword Validation
0 likes · 18 min read
Simplify Password Validation with Passay: One‑Line Security in Java
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 15, 2023 · Databases

Root Cause Analysis of MySQL Replication Error 1590 Caused by INCIDENT_EVENT During Partial Permission Changes

The article analyzes a MySQL 5.7 replication failure where the slave SQL thread stops with error 1590 because the master writes an INCIDENT_EVENT to the binlog when a GRANT or CREATE USER statement partially succeeds due to password‑validation plugin constraints, leading to replication breakage.

DatabaseIncident EventMySQL
0 likes · 11 min read
Root Cause Analysis of MySQL Replication Error 1590 Caused by INCIDENT_EVENT During Partial Permission Changes
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 14, 2023 · Databases

Using MySQL 8.0.34 validate_password.changed_characters_percentage to Enforce Password Change Requirements

MySQL 8.0.34 adds the validate_password.changed_characters_percentage variable, allowing administrators to require a minimum percentage of different characters when users change passwords, and the article demonstrates how to enable the policy, set up a test environment, and verify behavior with various password change scenarios.

Database AdministrationMySQLPassword Validation
0 likes · 11 min read
Using MySQL 8.0.34 validate_password.changed_characters_percentage to Enforce Password Change Requirements
Java Captain
Java Captain
Mar 27, 2022 · Fundamentals

Understanding Regular Expressions in Java: Password Validation Example

This article introduces regular expressions through a Java password‑validation case, compares a manual character‑checking implementation with a concise regex solution, explains regex syntax and meta‑characters, and demonstrates how to apply Pattern.matches for string validation in Java.

CodingPassword ValidationRegex
0 likes · 11 min read
Understanding Regular Expressions in Java: Password Validation Example