-
Notifications
You must be signed in to change notification settings - Fork 188
/
value-policy-random-pin.xml
51 lines (49 loc) · 2.37 KB
/
value-policy-random-pin.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2010-2019 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 xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
oid="81818181-76e0-59e2-8888-3d4f02d3fffb"
version="6">
<name>
<orig xmlns="http://prism.evolveum.com/xml/ns/public/types-3">Numeric PIN Policy</orig>
<norm xmlns="http://prism.evolveum.com/xml/ns/public/types-3">numeric pin policy</norm>
</name>
<description>A policy useful for generating PIN.</description>
<c:stringPolicy xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3"
xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3"
xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3"
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3"
xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3"
xmlns:apti="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:enc="http://www.w3.org/2001/04/xmlenc#">
<c:description>String validation policy</c:description>
<c:limitations>
<c:minLength>4</c:minLength>
<c:maxLength>4</c:maxLength>
<c:minUniqueChars>1</c:minUniqueChars>
<c:checkAgainstDictionary>false</c:checkAgainstDictionary>
<c:checkPattern></c:checkPattern>
<c:limit>
<c:description>Numeric characters (first digit - excluding zero)</c:description>
<c:minOccurs>1</c:minOccurs>
<c:mustBeFirst>true</c:mustBeFirst>
<c:characterClass>
<c:value>123456789</c:value>
</c:characterClass>
</c:limit>
<c:limit>
<c:description>Numeric characters</c:description>
<c:mustBeFirst>false</c:mustBeFirst>
<c:characterClass>
<c:value>1234567890</c:value>
</c:characterClass>
</c:limit>
</c:limitations>
</c:stringPolicy>
</valuePolicy>