<?xml version="1.0" encoding="UTF-8"?>
<!--
~ 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 legal/CDDLv1.0.txt. See the License for the
~ specific language governing permission and limitations under the License.
~
~ When distributing Covered Software, include this CDDL Header Notice in each file and include
~ the License file at 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 copyright [year] [name of copyright owner]".
~
~ Copyright 2015-2016 ForgeRock AS.
-->
<!DOCTYPE ServicesConfiguration
PUBLIC "=//iPlanet//Service Management Services (SMS) 1.0 DTD//EN"
<ServicesConfiguration>
<Service name="selfService" version="1.0">
<Schema
serviceHierarchy="/DSAMEConfig/selfService"
i18nFileName="selfService"
revisionNumber="1"
resourceName="selfService"
i18nKey="self-service-description">
<Organization>
<!-- General configuration -->
<AttributeSchema name="selfServiceCaptchaSiteKey"
type="single"
syntax="string"
resourceName="captchaSiteKey"
i18nKey="captcha.site.key">
</AttributeSchema>
<AttributeSchema name="selfServiceCaptchaSecretKey"
type="single"
syntax="string"
resourceName="captchaSecretKey"
i18nKey="captcha.secret.key">
</AttributeSchema>
<AttributeSchema name="selfServiceCaptchaVerificationUrl"
type="single"
syntax="string"
resourceName="captchaVerificationUrl"
i18nKey="captcha.verification.url">
<DefaultValues>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceKBAQuestions"
type="list"
syntax="string"
resourceName="kbaQuestions"
i18nKey="kba.questions">
<DefaultValues>
<Value>1|en|What is the name of your favourite restaurant?</Value>
<Value>2|en|What was the model of your first car?</Value>
<Value>3|en|What was the name of your childhood pet?</Value>
<Value>4|en|What is your mother's maiden name?</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceMinimumAnswersToDefine"
type="single"
syntax="number_range" rangeStart="0" rangeEnd="30"
resourceName="minimumAnswersToDefine"
i18nKey="minimum.answers.to.define">
<DefaultValues>
<Value>1</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceMinimumAnswersToVerify"
type="single"
syntax="number_range" rangeStart="0" rangeEnd="50"
resourceName="minimumAnswersToVerify"
i18nKey="minimum.answers.to.verify">
<DefaultValues>
<Value>1</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceValidQueryAttributes"
type="list"
syntax="string"
resourceName="validQueryAttributes"
i18nKey="valid.query.attributes">
<DefaultValues>
<Value>uid</Value>
<Value>sn</Value>
<Value>givenName</Value>
<Value>mail</Value>
</DefaultValues>
</AttributeSchema>
<!-- User registration -->
<AttributeSchema name="selfServiceUserRegistrationEnabled"
type="single"
syntax="boolean"
resourceName="userRegistrationEnabled"
i18nKey="user.registration.enabled">
<BooleanValues>
<BooleanTrueValue i18nKey="i18nTrue">true</BooleanTrueValue>
<BooleanFalseValue i18nKey="i18nFalse">false</BooleanFalseValue>
</BooleanValues>
<DefaultValues>
<Value>false</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceUserRegistrationCaptchaEnabled"
type="single"
syntax="boolean"
resourceName="userRegistrationCaptchaEnabled"
i18nKey="user.registration.captcha.enabled">
<BooleanValues>
<BooleanTrueValue i18nKey="i18nTrue">true</BooleanTrueValue>
<BooleanFalseValue i18nKey="i18nFalse">false</BooleanFalseValue>
</BooleanValues>
<DefaultValues>
<Value>false</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceUserRegistrationEmailVerificationEnabled"
type="single"
syntax="boolean"
resourceName="userRegistrationEmailVerificationEnabled"
i18nKey="user.registration.email.verification.enabled">
<BooleanValues>
<BooleanTrueValue i18nKey="i18nTrue">true</BooleanTrueValue>
<BooleanFalseValue i18nKey="i18nFalse">false</BooleanFalseValue>
</BooleanValues>
<DefaultValues>
<Value>true</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceUserRegistrationKbaEnabled"
type="single"
syntax="boolean"
resourceName="userRegistrationKbaEnabled"
i18nKey="user.registration.kba.enabled">
<BooleanValues>
<BooleanTrueValue i18nKey="i18nTrue">true</BooleanTrueValue>
<BooleanFalseValue i18nKey="i18nFalse">false</BooleanFalseValue>
</BooleanValues>
<DefaultValues>
<Value>false</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceUserRegistrationTokenTTL"
type="single"
syntax="number_range" rangeStart="0" rangeEnd="2147483647"
resourceName="userRegistrationTokenTTL"
i18nKey="user.registration.token.ttl">
<DefaultValues>
<Value>900</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceUserRegistrationEmailSubject"
type="list"
syntax="string"
resourceName="userRegistrationEmailSubject"
i18nKey="user.registration.email.subject">
<DefaultValues>
<Value>en|Registration email</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceUserRegistrationEmailBody"
type="list"
syntax="string"
resourceName="userRegistrationEmailBody"
i18nKey="user.registration.email.body">
<DefaultValues>
<Value>en|<h2>Click on this <a href="%link%">link</a> to register.</h2></Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceUserRegistrationValidUserAttributes"
type="list"
syntax="string"
resourceName="userRegistrationValidUserAttributes"
i18nKey="user.registration.valid.user.attributes">
<DefaultValues>
<Value>mail</Value>
<Value>inetUserStatus</Value>
<Value>sn</Value>
<Value>username</Value>
<Value>userPassword</Value>
<Value>kbaInfo</Value>
<Value>givenName</Value>
</DefaultValues>
</AttributeSchema>
<!-- Forgotten password -->
<AttributeSchema name="selfServiceForgottenPasswordEnabled"
type="single"
syntax="boolean"
resourceName="forgottenPasswordEnabled"
i18nKey="forgotten.password.enabled">
<BooleanValues>
<BooleanTrueValue i18nKey="i18nTrue">true</BooleanTrueValue>
<BooleanFalseValue i18nKey="i18nFalse">false</BooleanFalseValue>
</BooleanValues>
<DefaultValues>
<Value>false</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceForgottenPasswordCaptchaEnabled"
type="single"
syntax="boolean"
resourceName="forgottenPasswordCaptchaEnabled"
i18nKey="forgotten.password.captcha.enabled">
<BooleanValues>
<BooleanTrueValue i18nKey="i18nTrue">true</BooleanTrueValue>
<BooleanFalseValue i18nKey="i18nFalse">false</BooleanFalseValue>
</BooleanValues>
<DefaultValues>
<Value>false</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceForgottenPasswordEmailVerificationEnabled"
type="single"
syntax="boolean"
resourceName="forgottenPasswordEmailVerificationEnabled"
<BooleanValues>
<BooleanTrueValue i18nKey="i18nTrue">true</BooleanTrueValue>
<BooleanFalseValue i18nKey="i18nFalse">false</BooleanFalseValue>
</BooleanValues>
<DefaultValues>
<Value>true</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceForgottenPasswordKbaEnabled"
type="single"
syntax="boolean"
resourceName="forgottenPasswordKbaEnabled"
i18nKey="forgotten.password.kba.enabled">
<BooleanValues>
<BooleanTrueValue i18nKey="i18nTrue">true</BooleanTrueValue>
<BooleanFalseValue i18nKey="i18nFalse">false</BooleanFalseValue>
</BooleanValues>
<DefaultValues>
<Value>false</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceForgottenPasswordTokenTTL"
type="single"
syntax="number_range" rangeStart="0" rangeEnd="2147483647"
resourceName="forgottenPasswordTokenTTL"
i18nKey="forgotten.password.token.ttl">
<DefaultValues>
<Value>900</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceForgottenPasswordEmailSubject"
type="list"
syntax="string"
resourceName="forgottenPasswordEmailSubject"
i18nKey="forgotten.password.email.subject">
<DefaultValues>
<Value>en|Forgotten password email</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceForgottenPasswordEmailBody"
type="list"
syntax="string"
resourceName="forgottenPasswordEmailBody"
i18nKey="forgotten.password.email.body">
<DefaultValues>
<Value>en|<h2>Click on this <a href="%link%">link</a> to reset your password.</h2></Value>
</DefaultValues>
</AttributeSchema>
<!-- Forgotten username -->
<AttributeSchema name="selfServiceForgottenUsernameEnabled"
type="single"
syntax="boolean"
resourceName="forgottenUsernameEnabled"
i18nKey="forgotten.username.enabled">
<BooleanValues>
<BooleanTrueValue i18nKey="i18nTrue">true</BooleanTrueValue>
<BooleanFalseValue i18nKey="i18nFalse">false</BooleanFalseValue>
</BooleanValues>
<DefaultValues>
<Value>false</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceForgottenUsernameCaptchaEnabled"
type="single"
syntax="boolean"
resourceName="forgottenUsernameCaptchaEnabled"
i18nKey="forgotten.username.captcha.enabled">
<BooleanValues>
<BooleanTrueValue i18nKey="i18nTrue">true</BooleanTrueValue>
<BooleanFalseValue i18nKey="i18nFalse">false</BooleanFalseValue>
</BooleanValues>
<DefaultValues>
<Value>false</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceForgottenUsernameKbaEnabled"
type="single"
syntax="boolean"
resourceName="forgottenUsernameKbaEnabled"
i18nKey="forgotten.username.kba.enabled">
<BooleanValues>
<BooleanTrueValue i18nKey="i18nTrue">true</BooleanTrueValue>
<BooleanFalseValue i18nKey="i18nFalse">false</BooleanFalseValue>
</BooleanValues>
<DefaultValues>
<Value>false</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceForgottenUsernameEmailUsernameEnabled"
type="single"
syntax="boolean"
resourceName="forgottenUsernameEmailUsernameEnabled"
i18nKey="forgotten.username.email.username.enabled">
<BooleanValues>
<BooleanTrueValue i18nKey="i18nTrue">true</BooleanTrueValue>
<BooleanFalseValue i18nKey="i18nFalse">false</BooleanFalseValue>
</BooleanValues>
<DefaultValues>
<Value>true</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceForgottenUsernameShowUsernameEnabled"
type="single"
syntax="boolean"
resourceName="forgottenUsernameShowUsernameEnabled"
i18nKey="forgotten.username.show.username.enabled">
<BooleanValues>
<BooleanTrueValue i18nKey="i18nTrue">true</BooleanTrueValue>
<BooleanFalseValue i18nKey="i18nFalse">false</BooleanFalseValue>
</BooleanValues>
<DefaultValues>
<Value>false</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceForgottenUsernameTokenTTL"
type="single"
syntax="number_range" rangeStart="0" rangeEnd="2147483647"
resourceName="forgottenUsernameTokenTTL"
i18nKey="forgotten.username.token.ttl">
<DefaultValues>
<Value>900</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceForgottenUsernameEmailSubject"
type="list"
syntax="string"
resourceName="forgottenUsernameEmailSubject"
i18nKey="forgotten.username.email.subject">
<DefaultValues>
<Value>en|Forgotten username email</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceForgottenUsernameEmailBody"
type="list"
syntax="string"
resourceName="forgottenUsernameEmailBody"
i18nKey="forgotten.username.email.body">
<DefaultValues>
<Value>en|<h2>Your username is <span style="color:blue">%username%</span>.</h2></Value>
</DefaultValues>
</AttributeSchema>
<!-- Profile management -->
<AttributeSchema name="selfServiceProfileProtectedUserAttributes"
type="list"
syntax="string"
resourceName="profileProtectedUserAttributes"
i18nKey="profile.protected.user.attributes">
</AttributeSchema>
<!-- Advanced configuration -->
<AttributeSchema name="selfServiceUserRegistrationConfirmationUrl"
type="single"
syntax="url"
resourceName="userRegistrationConfirmationUrl"
i18nKey="user.registration.confirmation.url">
<DefaultValues>
<Value>@SERVER_PROTO@://@SERVER_HOST@:@SERVER_PORT@/@SERVER_URI@/XUI/#register/</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceForgottenPasswordConfirmationUrl"
type="single"
syntax="url"
resourceName="forgottenPasswordConfirmationUrl"
i18nKey="forgotten.password.confirmation.url">
<DefaultValues>
<Value>@SERVER_PROTO@://@SERVER_HOST@:@SERVER_PORT@/@SERVER_URI@/XUI/#passwordReset/</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceUserRegistrationServiceConfigClass"
type="single"
syntax="string"
resourceName="userRegistrationServiceConfigClass"
i18nKey="user.registration.service.config.class">
<DefaultValues>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceForgottenPasswordServiceConfigClass"
type="single"
syntax="string"
resourceName="forgottenPasswordServiceConfigClass"
i18nKey="forgotten.password.service.config.class">
<DefaultValues>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="selfServiceForgottenUsernameServiceConfigClass"
type="single"
syntax="string"
resourceName="forgottenUsernameServiceConfigClass"
i18nKey="forgotten.username.service.config.class">
<DefaultValues>
</DefaultValues>
</AttributeSchema>
</Organization>
</Schema>
</Service>
</ServicesConfiguration>