<?xml version="1.0" encoding="UTF-8"?>

<!--
   DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
  
    Copyright (c) 2007 Sun Microsystems Inc. All Rights Reserved
  
    The contents of this file are subject to the terms
    of the Common Development and Distribution License
    (the License). You may not use this file except in
    compliance with the License.

    You can obtain a copy of the License at
    https://opensso.dev.java.net/public/CDDLv1.0.html or
    opensso/legal/CDDLv1.0.txt
    See the License for the specific language governing
    permission and limitations under the License.

    When distributing Covered Code, include this CDDL
    Header Notice in each file and include the License file
    at opensso/legal/CDDLv1.0.txt.
    If applicable, add the following below the CDDL Header,
    with the fields enclosed by brackets [] replaced by
    your own identifying information:
    "Portions Copyrighted [year] [name of copyright owner]"

    $Id: amPasswordReset.xml,v 1.3 2009/01/13 06:50:17 mahesh_prasad_r Exp $

    Portions Copyrighted 2013-2015 ForgeRock AS.
-->

<!DOCTYPE ServicesConfiguration
    PUBLIC "=//iPlanet//Service Management Services (SMS) 1.0 DTD//EN"
    "jar://com/sun/identity/sm/sms.dtd">

<ServicesConfiguration>
    <Service name="iPlanetAMPasswordResetService" version="1.0">
        <Schema
            serviceHierarchy="/DSAMEConfig/iPlanetAMPasswordResetService"
            i18nFileName="amPasswordReset"
            i18nKey="iplanet-am-password-reset-service-description"
            resourceName="passwordreset"
	    revisionNumber="20">

	    <Organization>
		<AttributeSchema name="RequiredValueValidator"
		    type="validator"
		    syntax="string">
		    <DefaultValues>
			<Value>com.sun.identity.sm.RequiredValueValidator</Value>
		    </DefaultValues>
		</AttributeSchema>

                <AttributeSchema name="iplanet-am-password-reset-userValidate"
                    type="single"
                    syntax="string"
                    any="required|display"
		    validator="RequiredValueValidator"
                    resourceName="userAttribute"
                    i18nKey="p101">
                    <DefaultValues>
                        <Value>uid</Value>
                    </DefaultValues>
                </AttributeSchema>
                <AttributeSchema name="openam-am-password-reset-invalidchar-regex"
                    type="single"
                    syntax="string"
                    any="display"
                    i18nKey="p121"
                    resourceName="invalidCharacterRegex">
                    <DefaultValues>
                        <Value>[\*\(\)_%\W]</Value>
                    </DefaultValues>
                </AttributeSchema>
                <AttributeSchema name="iplanet-am-password-reset-question"
                    type="list"
                    syntax="string"
                    any="required|display"
		    validator="RequiredValueValidator"
                    resourceName="question"
                    i18nKey="p102">
                    <DefaultValues>
                        <Value>favourite-restaurant</Value>
                    </DefaultValues>
                </AttributeSchema>
                <AttributeSchema name="iplanet-am-password-reset-searchFilter"
                    type="single"
                    syntax="string"
                    any="display"
                    resourceName="searchFilter"
                    i18nKey="p103">
                </AttributeSchema>
                <AttributeSchema name="iplanet-am-password-reset-baseDN"
                    type="single"
                    syntax="string"
                    any="display"
                    resourceName="baseDN"
                    i18nKey="p104">
                </AttributeSchema>
                <AttributeSchema name="iplanet-am-password-reset-bindDN"
                    type="single"
                    syntax="string"
                    any="required|display"
		    validator="RequiredValueValidator"
                    resourceName="bindDN"
                    i18nKey="p105">
                    <DefaultValues>
                    <Value>&#x00A0;</Value>
                    </DefaultValues>
                </AttributeSchema>
                <AttributeSchema name="iplanet-am-password-reset-bindPasswd"
                    type="single"
                    syntax="password"
                    any="required|display"
		    validator="RequiredValueValidator"
                    resourceName="bindPassword"
                    i18nKey="p106">
		    <DefaultValues>
			<Value>&#x00A0;</Value>
		    </DefaultValues>
                </AttributeSchema>
                <AttributeSchema name="iplanet-am-password-reset-option"
                    type="single"
                    syntax="string"
                    any="required|display"
		    validator="RequiredValueValidator"
                    resourceName="resetCreatorClass"
                    i18nKey="p107">
                    <DefaultValues>
                        <Value>com.sun.identity.password.plugins.RandomPasswordGenerator</Value>
                    </DefaultValues>
                </AttributeSchema>
                <AttributeSchema name="iplanet-am-password-reset-notification"
                    type="single"
                    syntax="string"
                    any="required|display"
		    validator="RequiredValueValidator"
                    resourceName="notificationClass"
                    i18nKey="p108">
                    <DefaultValues>
                        <Value>com.sun.identity.password.plugins.EmailPassword</Value>
                    </DefaultValues>
                </AttributeSchema>
                <AttributeSchema name="iplanet-am-password-reset-enabled"
                    type="single"
                    syntax="boolean"
                    any="required|display"
		    validator="RequiredValueValidator"
                    resourceName="enabled"
                    i18nKey="p109">
                    <DefaultValues>
                        <Value>true</Value>
                    </DefaultValues>
                </AttributeSchema>
                <AttributeSchema name="iplanet-am-password-reset-user-personal-question"
                    type="single"
                    syntax="boolean"
                    any="required|display"
		    validator="RequiredValueValidator"
                    resourceName="personalQuestion"
                    i18nKey="p110">
                    <DefaultValues>
                        <Value>false</Value>
                    </DefaultValues>
                </AttributeSchema>
                <AttributeSchema name="iplanet-am-password-reset-max-num-of-questions"
                    type="single"
                    syntax="number_range"
                    rangeStart="1" rangeEnd="5"
                    any="required|display"
		    validator="RequiredValueValidator"
                    resourceName="maximumNumberQuestions"
                    i18nKey="p111">
                    <DefaultValues>
                        <Value>1</Value>
                    </DefaultValues>
                </AttributeSchema>
                <AttributeSchema name="iplanet-am-password-reset-force-reset"
                    type="single"
                    syntax="boolean"
                    any="display"
                    resourceName="forceResetOnNextLogin"
                    i18nKey="p111.1">
                    <DefaultValues>
                        <Value>false</Value>
                    </DefaultValues>
                </AttributeSchema>
                <AttributeSchema name="iplanet-am-password-reset-failure-lockout-mode"
                    type="single"
                    syntax="boolean"
                    resourceName="failureLockout"
                    i18nKey="p112">
                    <DefaultValues>
                        <Value>false</Value>
                    </DefaultValues>
                </AttributeSchema>
                <AttributeSchema name="iplanet-am-password-reset-failure-count"
                    type="single"
                    syntax="number_range"
                    rangeStart="0" rangeEnd="2147483647"
                    i18nKey="p113"
                    resourceName="failureCount">
                    <DefaultValues>
                        <Value>5</Value>
                    </DefaultValues>
                </AttributeSchema>
                <AttributeSchema name="iplanet-am-password-reset-failure-duration"
                    type="single"
                    syntax="number_range"
                    rangeStart="1" rangeEnd="2147483647"
                    i18nKey="p114"
                    resourceName="failureDuration">
                    <DefaultValues>
                        <Value>300</Value>
                    </DefaultValues>
                </AttributeSchema>
                <AttributeSchema name="iplanet-am-password-reset-lockout-email-address"
                    type="single"
                    syntax="string"
                    i18nKey="p115"
                    resourceName="lockoutEmail">
                </AttributeSchema>
                <AttributeSchema name="iplanet-am-password-reset-lockout-warn-user"
                    type="single"
                    syntax="number_range"
                    rangeStart="0" rangeEnd="2147483647"
                    i18nKey="p116"
                    resourceName="warnUserBeforeLockout">
                    <DefaultValues>
                        <Value>4</Value>
                    </DefaultValues>
                </AttributeSchema>
                <AttributeSchema name="iplanet-am-password-reset-lockout-duration"
                    type="single"
                    syntax="number_range"
                    rangeStart="0" rangeEnd="2147483647"
                    i18nKey="p117"
                    resourceName="lockoutDuration">
                    <DefaultValues>
                        <Value>0</Value>
                    </DefaultValues>
                </AttributeSchema>
                <AttributeSchema name="iplanet-am-password-reset-lockout-attribute-name"
                    type="single"
                    syntax="string"
                    i18nKey="p118"
                    resourceName="lockoutAttributeName">
                </AttributeSchema>
                <AttributeSchema name="iplanet-am-password-reset-lockout-attribute-value"
                    type="single"
                    syntax="string"
                    i18nKey="p119"
                    resourceName="lockoutAttributeValue">
                </AttributeSchema>
                <AttributeSchema name="openam-password-reset-mail-attribute-name"
                    type="single"
                    syntax="string"
                    i18nKey="p120"
                    resourceName="emailAttribute">
                    <DefaultValues>
                        <Value>mail</Value>
                    </DefaultValues>
                </AttributeSchema>
	    </Organization>
        </Schema>
    </Service>
</ServicesConfiguration>
