mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
27.50.2007 ace2bd4146fe55154c0d716f20d9cbff3a2297d3
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
<?xml version="1.0" encoding="UTF-8"?>
<!--
 ! CDDL HEADER START
 !
 ! The contents of this file are subject to the terms of the
 ! Common Development and Distribution License, Version 1.0 only
 ! (the "License").  You may not use this file except in compliance
 ! with the License.
 !
 ! You can obtain a copy of the license at
 ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
 ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
 ! See the License for the specific language governing permissions
 ! and limitations under the License.
 !
 ! When distributing Covered Code, include this CDDL HEADER in each
 ! file and include the License file at
 ! trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
 ! add the following below this CDDL HEADER, with the fields enclosed
 ! by brackets "[]" replaced with your own identifying information:
 !      Portions Copyright [yyyy] [name of copyright owner]
 !
 ! CDDL HEADER END
 !
 !
 !      Portions Copyright 2007 Sun Microsystems, Inc.
 ! -->
 
<adm:managed-object name="password-policy"
  plural-name="password-policies" package="org.opends.server.admin.std"
  xmlns:adm="http://www.opends.org/admin"
  xmlns:ldap="http://www.opends.org/admin-ldap">
  <adm:synopsis>
    Define a number of password management rules, as well as
    requirements for authentication processing.
  </adm:synopsis>
  <adm:tag name="user-management"/>
  <adm:profile name="ldap">
    <ldap:object-class>
      <ldap:name>ds-cfg-password-policy</ldap:name>
      <ldap:superior>top</ldap:superior>
    </ldap:object-class>
  </adm:profile>
 
  <adm:property name="password-attribute" mandatory="true"
    multi-valued="false">
    <adm:synopsis>
      Specifies the attribute type used to hold user passwords.
    </adm:synopsis>
    <adm:description>
      Specifies the attribute type used to hold user passwords. This
      attribute type must be defined in the server schema, and it must have
      either the user password or auth password syntax. Changes to this
      configuration attribute will take effect immediately.
    </adm:description>
    <adm:syntax>
      <adm:attribute-type />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-password-attribute</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="default-password-storage-scheme" mandatory="true"
    multi-valued="true">
    <adm:synopsis>
      Specifies the names of the the password storage schemes that will
      be used to encode clear-text passwords for this password policy.
    </adm:synopsis>
    <adm:syntax>
      <adm:aggregation relation-name="password-storage-scheme"
        parent-path="/">
        <adm:target-is-enabled-condition>
          <adm:contains property="enabled" value="true" />
        </adm:target-is-enabled-condition>
      </adm:aggregation>
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-default-password-storage-scheme</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="deprecated-password-storage-scheme"
    mandatory="false" multi-valued="true">
    <adm:synopsis>
      Specifies the names of the password storage schemes that will be
      considered deprecated for this password policy. If a user with
      this password policy authenticates to the server and his/her
      password is encoded with any deprecated schemes, then those values
      will be removed and replaced with values encoded using the default
      password storage scheme(s).
    </adm:synopsis>
    <adm:default-behavior>
      <adm:undefined />
    </adm:default-behavior>
    <adm:syntax>
      <adm:aggregation relation-name="password-storage-scheme"
        parent-path="/">
        <adm:target-is-enabled-condition>
          <adm:contains property="enabled" value="true" />
        </adm:target-is-enabled-condition>
      </adm:aggregation>
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-deprecated-password-storage-scheme</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="password-validator" mandatory="false"
    multi-valued="true">
    <adm:synopsis>
      Specifies the names of the password validators that should be
      used with the associated password storage scheme.
    </adm:synopsis>
    <adm:default-behavior>
      <adm:undefined />
    </adm:default-behavior>
    <adm:syntax>
      <adm:aggregation relation-name="password-validator"
        parent-path="/">
        <adm:target-is-enabled-condition>
          <adm:contains property="enabled" value="true" />
        </adm:target-is-enabled-condition>
      </adm:aggregation>
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-password-validator</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="account-status-notification-handler"
    mandatory="false" multi-valued="true">
    <adm:synopsis>
      Specifies the names of the account status notification handlers
      that should be used with the associated password storage scheme.
    </adm:synopsis>
    <adm:default-behavior>
      <adm:undefined />
    </adm:default-behavior>
    <adm:syntax>
      <adm:aggregation
        relation-name="account-status-notification-handler"
        parent-path="/">
        <adm:target-is-enabled-condition>
          <adm:contains property="enabled" value="true" />
        </adm:target-is-enabled-condition>
      </adm:aggregation>
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>
          ds-cfg-account-status-notification-handler
        </ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="allow-user-password-changes" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Indicates whether users will be allowed to change their own
      passwords.
    </adm:synopsis>
    <adm:description>
      Indicates whether users will be allowed to change their own
      passwords. This check is made in addition to access control
      evaluation, and therefore both must allow the password change for
      it to occur. Changes to this configuration attribute will take
      effect immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>true</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:boolean />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-allow-user-password-changes</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="password-change-requires-current-password"
    mandatory="false" multi-valued="false">
    <adm:synopsis>
      Indicates whether user password changes will be required to use
      the password modify extended operation and include the user's
      current password before the change will be allowed.
    </adm:synopsis>
    <adm:description>
      Indicates whether user password changes will be required to use
      the password modify extended operation and include the user's
      current password before the change will be allowed. Changes to
      this configuration attribute will take effect immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>false</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:boolean />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>
          ds-cfg-password-change-requires-current-password
        </ldap:name>
      </ldap:attribute>
    </adm:profile>
 
  </adm:property>
  <adm:property name="force-change-on-add" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Indicates whether users will be forced to change their passwords
      upon first authenticating to the Directory Server after their
      account has been created.
    </adm:synopsis>
    <adm:description>
      Indicates whether users will be forced to change their passwords
      upon first authenticating to the Directory Server after their
      account has been created. Changes to this configuration attribute
      will take effect immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>false</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:boolean />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-force-change-on-add</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
 
 
  <adm:property name="force-change-on-reset" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Indicates whether users will be forced to change their passwords
      if they are reset by an administrator.
    </adm:synopsis>
    <adm:description>
      Indicates whether users will be forced to change their passwords
      if they are reset by an administrator. For this purpose, anyone
      with permission to change a given user's password other than that
      user will be considered an administrator. Changes to this
      configuration attribute will take effect immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>false</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:boolean />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-force-change-on-reset</ldap:name>
      </ldap:attribute>
    </adm:profile>
 
 
  </adm:property>
  <adm:property name="skip-validation-for-administrators"
    mandatory="false" multi-valued="false">
    <adm:synopsis>
      Indicates whether passwords set by administrators will be allowed
      to bypass the password validation process that will be required
      for user password changes.
    </adm:synopsis>
    <adm:description>
      Indicates whether passwords set by administrators (in add, modify,
      or password modify operations) will be allowed to bypass the
      password validation process that will be required for user
      password changes. Changes to this configuration attribute will
      take effect immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>false</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:boolean />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-skip-validation-for-administrators</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
 
  <adm:property name="password-generator" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Specifies the name of the password generator that should be used
      with the associated password policy.
    </adm:synopsis>
    <adm:description>
      This will be used in conjunction with the password modify extended
      operation to generate a new password for a user when none was
      provided in the request.
    </adm:description>
    <adm:default-behavior>
      <adm:undefined />
    </adm:default-behavior>
    <adm:syntax>
      <adm:aggregation relation-name="password-generator"
        parent-path="/">
        <adm:target-is-enabled-condition>
          <adm:contains property="enabled" value="true" />
        </adm:target-is-enabled-condition>
      </adm:aggregation>
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-password-generator</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
 
  <adm:property name="require-secure-authentication" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Indicates whether users with the associated password policy will
      be required to authenticate in a secure manner.
    </adm:synopsis>
    <adm:description>
      Indicates whether users with the associated password policy will
      be required to authenticate in a secure manner. This could mean
      either using a secure communication channel between the client and
      the server, or using a SASL mechanism that does not expose the
      credentials. Changes to this configuration attribute will take
      effect immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>false</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:boolean />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-require-secure-authentication</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
 
  <adm:property name="require-secure-password-changes" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Indicates whether users with the associated password policy will
      be required to change their password in a secure manner that does
      not expose the credentials.
    </adm:synopsis>
    <adm:description>
      Indicates whether users with the associated password policy will
      be required to change their password in a secure manner that does
      not expose the credentials. Changes to this configuration
      attribute will take effect immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>false</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:boolean />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-require-secure-password-changes</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
 
  <adm:property name="allow-multiple-password-values" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Indicates whether user entries will be allowed to have multiple
      distinct values for the password attribute.
    </adm:synopsis>
    <adm:description>
      Indicates whether user entries will be allowed to have multiple
      distinct values for the password attribute. This is potentially
      dangerous because many mechanisms used to change the password do
      not work well with such a configuration. If multiple password
      values are allowed, then any of them may be used to authenticate,
      and they will all be subject to the same policy constraints.
      Changes to this configuration attribute will take effect
      immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>false</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:boolean />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-allow-multiple-password-values</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="allow-pre-encoded-passwords" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      _Indicates whether users will be allowed to change their passwords
      by providing a pre-encoded value.
    </adm:synopsis>
    <adm:description>
      Indicates whether users will be allowed to change their passwords
      by providing a pre-encoded value. This can cause a security risk
      because the clear-text version of the password is not known and
      therefore validation checks cannot be applied to it. Changes to
      this configuration attribute will take effect immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>false</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:boolean />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-allow-pre-encoded-passwords</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="min-password-age" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Specifies the minimum length of time that must pass after a
      password change before the user will be allowed to change the
      password again.
    </adm:synopsis>
    <adm:description>
      Specifies the minimum length of time that must pass after a
      password change before the user will be allowed to change the
      password again. The value of this attribute should be an integer
      followed by a unit of seconds, minutes, hours, days, or weeks.
      This setting can be used to prevent users from changing their
      passwords repeatedly over a short period of time to flush and old
      password from the history so that it may be re-used. Changes to
      this configuration attribute will take effect immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>0 seconds</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:duration />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-min-password-age</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="max-password-age" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Specifies the maximum length of time that a user may continue
      using the same password before it must be changed.
    </adm:synopsis>
    <adm:description>
      Specifies the maximum length of time that a user may continue
      using the same password before it must be changed (i.e., the
      password expiration interval). The value of this attribute should
      be an integer followed by a unit of seconds, minutes, hours, days,
      or weeks. A value of 0 seconds will disable password expiration.
      Changes to this configuration attribute will take effect
      immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>0 seconds</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:duration />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-max-password-age</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
 
  <adm:property name="max-password-reset-age" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Specifies the maximum length of time that users have to change
      passwords after they have been reset by an administrator before
      they become locked.
    </adm:synopsis>
    <adm:description>
      Specifies the maximum length of time that users have to change
      passwords after they have been reset by an administrator before
      they become locked. The value of this attribute should be an
      integer followed by a unit of seconds, minutes, hours, days, or
      weeks. A value of 0 seconds will disable this feature. Changes to
      this configuration attribute will take effect immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>0 seconds</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:duration />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-max-password-reset-age</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="password-expiration-warning-interval"
    mandatory="false" multi-valued="false">
    <adm:synopsis>
      Specifies the maximum length of time before a user's password
      actually expires that the server will begin to include warning
      notifications in bind responses for that user.
    </adm:synopsis>
    <adm:description>
      Specifies the maximum length of time before a user's password
      actually expires that the server will begin to include warning
      notifications in bind responses for that user. The value of this
      attribute should be an integer followed by a unit of seconds,
      minutes, hours, days, or weeks. A value of 0 seconds will disable
      the warning interval. Changes to this configuration attribute will
      take effect immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>5 days</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:duration />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>
          ds-cfg-password-expiration-warning-interval
        </ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="expire-passwords-without-warning"
    mandatory="false" multi-valued="false">
    <adm:synopsis>
      Indicates whether the Directory Server should allow a user's
      password to expire even if that user has never seen an expiration
      warning notification.
    </adm:synopsis>
    <adm:description>
      Indicates whether the Directory Server should allow a user's
      password to expire even if that user has never seen an expiration
      warning notification. If this setting is enabled, then accounts
      will always be expired when the expiration time arrives. If it is
      disabled, then the user will always receive at least one warning
      notification, and the password expiration will be set to the
      warning time plus the warning interval. Changes to this
      configuration attribute will take effect immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>false</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:boolean />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-expire-passwords-without-warning</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="allow-expired-password-changes" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Indicates whether a user whose password is expired will still be
      allowed to change that password using the password modify extended
      operation.
    </adm:synopsis>
    <adm:description>
      Indicates whether a user whose password is expired will still be
      allowed to change that password using the password modify extended
      operation. Changes to this configuration attribute will take
      effect immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>false</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:boolean />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-allow-expired-password-changes</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="grace-login-count" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Specifies the number of grace logins that a user will be allowed
      after the account has expired to allow that user to choose a new
      password.
    </adm:synopsis>
    <adm:description>
      Specifies the number of grace logins that a user will be allowed
      after the account has expired to allow that user to choose a new
      password. A value of 0 indicates that no grace logins will be
      allowed. Changes to this configuration attribute will take effect
      immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>0</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:integer lower-limit="0" upper-limit="2147483647" />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-grace-login-count</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="lockout-failure-count" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Specifies the maximum number of authentication failures that a
      user should be allowed before the account is locked out.
    </adm:synopsis>
    <adm:description>
      Specifies the maximum number of authentication failures that a
      user should be allowed before the account is locked out. A value
      of 0 indicates that accounts should never be locked out due to
      failed attempts. changes to this configuration attribute will take
      effect immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>0</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:integer lower-limit="0" upper-limit="2147483647" />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-lockout-failure-count</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="lockout-duration" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Specifies the length of time that an account should be locked
      after too many authentication failures.
    </adm:synopsis>
    <adm:description>
      Specifies the length of time that an account should be locked
      after too many authentication failures. The value of this
      attribute should be an integer followed by a unit of seconds,
      minutes, hours, days, or weeks. A value of 0 seconds indicates
      that the account should remain locked until an administrator
      resets the password. Changes to this configuration attribute will
      take effect immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>0 seconds</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:duration />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-lockout-duration</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="lockout-failure-expiration-interval"
    mandatory="false" multi-valued="false">
    <adm:synopsis>
      Specifies the length of time that should pass before an
      authentication failure is no longer counted against a user for the
      purposes of account lockout.
    </adm:synopsis>
    <adm:description>
      Specifies the length of time that should pass before an
      authentication failure is no longer counted against a user for the
      purposes of account lockout. The value of this attribute should be
      an integer followed by a unit of seconds, minutes, hours, days, or
      weeks. A value of 0 seconds indicates that the authentication
      failures should never expire. The failure count will always be
      cleared upon a successful authentication. Changes to this
      configuration attribute will take effect immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>0 seconds</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:duration />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>
          ds-cfg-lockout-failure-expiration-interval
        </ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="require-change-by-time" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Specifies the time by which all users with the associated password
      policy must change their passwords.
    </adm:synopsis>
    <adm:description>
      Specifies the time by which all users with the associated password
      policy must change their passwords. The value should be expressed
      in a generalized time format. If this time is equal to the current
      time or is in the past, then all users will be required to change
      their passwords immediately. The behavior of the server in this
      mode will be identical to the behavior observed when users are
      forced to change their passwords after an administrative reset.
      Changes to this configuration attribute will take effect
      immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:undefined />
    </adm:default-behavior>
    <adm:syntax>
      <adm:string />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-require-change-by-time</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="last-login-time-attribute" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Specifies the name or OID of the attribute type that should be
      used to hold the last login time for users with the associated
      password policy.
    </adm:synopsis>
    <adm:description>
      Specifies the name or OID of the attribute type that should be
      used to hold the last login time for users with the associated
      password policy. This attribute type must be defined in the
      Directory Server schema and must either be defined as an
      operational attribute or must be allowed by the set of
      objectClasses for all users with the associated password policy.
      Changes to this configuration attribute will take effect
      immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:undefined />
    </adm:default-behavior>
    <adm:syntax>
      <adm:attribute-type />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-last-login-time-attribute</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="last-login-time-format" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Specifies the format string that should be used to generate the
      last login time value for users with the associated password
      policy.
    </adm:synopsis>
    <adm:description>
      Specifies the format string that should be used to generate the
      last login time value for users with the associated password
      policy. This format string should conform to the syntax described
      in the API documentation for the java.text.SimpleDateFormat class.
      Changes to this configuration attribute will take effect
      immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:undefined />
    </adm:default-behavior>
    <adm:syntax>
      <adm:string />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-last-login-time-format</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="previous-last-login-time-format" mandatory="false"
    multi-valued="true">
    <adm:synopsis>
      Specifies the format string(s) that may have been used with the
      last login time at any point in the past for users associated with
      the password policy.
    </adm:synopsis>
    <adm:description>
      Specifies the format string(s) that may have been used with the
      last login time at any point in the past for users associated with
      the password policy. These values are used to make it possible to
      parse previous values, but will not be used to set new values.
      These format strings should conform to the syntax described in the
      API documentation for the java.text.SimpleDateFormat class.
      Changes to this configuration attribute will take effect
      immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:undefined />
    </adm:default-behavior>
    <adm:syntax>
      <adm:string />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-previous-last-login-time-format</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="idle-lockout-interval" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Specifies the maximum length of time that an account may remain
      idle (i.e., the associated user does not authenticate to the
      server) before that user is locked out.
    </adm:synopsis>
    <adm:description>
      Specifies the maximum length of time that an account may remain
      idle (i.e., the associated user does not authenticate to the
      server) before that user is locked out. The value of this
      attribute should be an integer followed by a unit of seconds,
      minutes, hours, days, or weeks. A value of 0 seconds indicates
      that idle accounts should not automatically be locked out. This
      feature will only be available if the last login time is
      maintained. Changes to this configuration attribute will take
      effect immediately.
    </adm:description>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>0 seconds</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:duration />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-idle-lockout-interval</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="state-update-failure-policy" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Specifies how the server should deal with the inability to update password
      policy state information during an authentication attempt.  In particular,
      it may be used to control whether an otherwise successful bind operation
      should fail if a failure occurs while attempting to update password policy
      state information (e.g., to clear a record of previous authentication
      failures or to update the last login time), or even whether to reject a
      bind request if it is known ahead of time that it will not be possible to
      update the authentication failure times in the event of an unsuccessful
      bind attempt (e.g., if the backend writability mode is disabled).
    </adm:synopsis>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>reactive</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:enumeration>
        <adm:value name="ignore">
          <adm:synopsis>
            If a bind attempt would otherwise be successful, then do not reject
            it if a problem occurs while attempting to update the password
            policy state information for the user.
          </adm:synopsis>
        </adm:value>
        <adm:value name="reactive">
          <adm:synopsis>
            Even if a bind attempt would otherwise be successful, reject it if a
            problem occurs while attempting to update the password policy state
            information for the user.
          </adm:synopsis>
        </adm:value>
        <adm:value name="proactive">
          <adm:synopsis>
            Proactively reject any bind attempt if it is known ahead of time
            that it would not be possible to update the user's password policy
            state information.
          </adm:synopsis>
        </adm:value>
      </adm:enumeration>
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-state-update-failure-policy</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="password-history-count" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Specifies the maximum number of former passwords to maintain in the
      password history.  When choosing a new password, the proposed password
      will be checked to ensure that it does not match the current password, nor
      any other password in the history list.  A value of zero indicates that
      either no password history is to be maintained (if the password history
      duration has a value of zero seconds), or that there is no maximum number
      of passwords to maintain in the history (if the password history duration
      has a value greater than zero seconds).
    </adm:synopsis>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>0</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:integer lower-limit="0" upper-limit="2147483647" />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-password-history-count</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
  <adm:property name="password-history-duration" mandatory="false"
    multi-valued="false">
    <adm:synopsis>
      Specifies the maximum length of time that passwords should remain in the
      password history.  When choosing a new password, the proposed password
      will be checked to ensure that it does not match the current password, nor
      any other password in the history list.  A value of zero seconds indicates
      that either no password history is to be maintained (if the password
      history count has a value of zero), or that there is no maximum duration
      for passwords in the history (if the password history count has a value
      greater than zero).
    </adm:synopsis>
    <adm:default-behavior>
      <adm:defined>
        <adm:value>0 seconds</adm:value>
      </adm:defined>
    </adm:default-behavior>
    <adm:syntax>
      <adm:duration base-unit="s" lower-limit="0" upper-limit="2147483647"
        allow-unlimited="false" />
    </adm:syntax>
    <adm:profile name="ldap">
      <ldap:attribute>
        <ldap:name>ds-cfg-password-history-duration</ldap:name>
      </ldap:attribute>
    </adm:profile>
  </adm:property>
 
</adm:managed-object>