/
password-policy-ugly.xml
37 lines (36 loc) · 1.31 KB
/
password-policy-ugly.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2017 Evolveum and contributors
~
~ This work is dual-licensed under the Apache License 2.0
~ and European Union Public License. See LICENSE file for details.
-->
<valuePolicy oid="cfb3fa9e-027a-11e7-8e2c-dbebaacaf4ee"
xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3">
<name>Ugly Password Policy</name>
<stringPolicy>
<limitations>
<minLength>5</minLength>
<maxLength>8</maxLength>
<minUniqueChars>0</minUniqueChars>
<limit>
<description>Alphas</description>
<minOccurs>2</minOccurs>
<maxOccurs>5</maxOccurs>
<mustBeFirst>false</mustBeFirst>
<characterClass>
<value>abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</value>
</characterClass>
</limit>
<limit>
<description>Numbers</description>
<minOccurs>2</minOccurs>
<maxOccurs>5</maxOccurs>
<mustBeFirst>false</mustBeFirst>
<characterClass>
<value>1234567890</value>
</characterClass>
</limit>
</limitations>
</stringPolicy>
</valuePolicy>