Skip to content

Commit e485d39

Browse files
Merge pull request #5663 from HasiniSama/password-contains-username
[6.1] Add new username check mode of password patterns to docs
2 parents 500113a + a14c7a2 commit e485d39

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

en/identity-server/6.1.0/docs/apis/identity-governance-rest-api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ and properties of connectors as mentioned below. <br>
2626
| Minimum number of characters | passwordPolicy.min.length | This denotes the minimum number of characters in the password. |
2727
| Maximum number of characters | passwordPolicy.max.length | This denotes the maximum number of characters in the password. |
2828
| Password pattern regex | passwordPolicy.pattern | The regular expression pattern to validate the password. |
29+
| Username check mode | passwordPolicy.username.check.mode | This property specifies whether to check the password contains or equals the username.<div><div class="admonition info"><p class="admonition-title">Info</p><p>This feature is available for WSO2 Identity Server 6.1.0 from update level 250 onwards (Updates 2.0 model). If you don't already have this update, see the instructions on <a href="https://updates.docs.wso2.com/en/latest/updates/overview/">updating WSO2 products</a>.</p></div></div> |
2930
| Error message on pattern violation | passwordPolicy.errorMsg | The error message that will be displayed when a pattern violation is detected in the password. |
3031

3132
??? "User Onboarding"

en/identity-server/6.1.0/docs/guides/password-mgt/password-policies.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,15 @@ WSO2 Identity Server (IS) allows you to define custom password policies and enfo
6161
</div></td>
6262
</tr>
6363
<tr class="even">
64+
<td>Username check mode</td>
65+
<td>This value specifies whether to check the password contains or equals the username.<div>
66+
<div class="admonition info">
67+
<p class="admonition-title">Info</p>
68+
<p>This feature is available for WSO2 Identity Server 6.1.0 from update level 250 onwards (Updates 2.0 model). If you don't already have this update, see the instructions on [updating WSO2 products](https://updates.docs.wso2.com/en/latest/updates/overview/).</p></div>
69+
</div></td>
70+
<td>equal</td>
71+
</tr>
72+
<tr class="odd">
6473
<td>Error message on pattern violation</td>
6574
<td>This value specifies the error message that will appear if the password policy is violated at the point of user creation.</td>
6675
<td>'Password pattern policy violated. Password should contain a digit[0-9], a lower case letter[a-z], an upper case letter[A-Z], one of !@#$%&amp;* characters'</td>

en/identity-server/next/docs/apis/governance-connectors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,4 +176,4 @@ This is the RESTful API for managing identity governance configurations in WSO2
176176
| Enable password reset via OTP | Recovery.AdminPasswordReset.OTP | User gets notified with a one-time password to try with SSO login. |
177177
| Enable password reset offline | Recovery.AdminPasswordReset.Offline | An OTP will be generated and stored in users claims. |
178178

179-
The APIs can be used to retrieve the above mentioned categories, connectors of the categories, properties of the categories, and update the property values.
179+
The APIs can be used to retrieve the above mentioned categories, connectors of the categories, properties of the categories, and update the property values.

0 commit comments

Comments
 (0)