#* The server renders this HTML page in an end-user's browser when needed authentication credentials may be obtained via HTTP Basic Authentication or an HTML form. Velocity variables (identified by the $ character) are generated at runtime by the server. The following variables are available on this page, but not used by default: $utils - The utility method to display JSON String arrays $escape - The utility class that can be used to escape String variables $HttpServletResponse - The details of HTTP response $HttpServletRequest - The details of HTTP request $TrackingId - The user's session tracking ID $TransactionId - The unique ID for the SSO or SLO transaction. $PingFedBaseURL - The URL containing full hostname and port on which the PingFederate deployment runs on $CurrentPingFedBaseURL - The base URL used in the current request. This URL may differ from $PingFedBaseURL when using a virtual host name $locale - The user's country and language $templateMessages - The set of messages that is used to localize messages based on the user's locale $client_id - The ID of the OAuth client used in this transaction $clientName - The name of the OAuth client used in this transaction $hiddenFieldValues - A map of hidden field IDs to their values. $extendedProperties - The extended properties defined on either the connection or OAuth client Change text or formatting as needed. Modifying Velocity statements is not recommended as it may interfere with expected server behavior. It is recommended to sanitize the values that are displayed using $escape.escape(), for example $escape.escape($client_id). *# #set( $messageKeyPrefix = "local.identity.registration." )
$captchaEnabled
"$captchaScriptName"
$captchaAttributes
"$CSPNonce"
#if($messages)
#foreach ($message in $messages.getBannerMessages())
$escape.escape($templateMessages.getMessage($message.getMessageKey(), $message.getParams()))
#end
$templateMessages.getMessage($messageKeyPrefix, "title")
#if($altAuthSources && $altAuthSources.size() > 0 && $isLocalRegistration)
$templateMessages.getMessage($messageKeyPrefix, "title")
#end
#if($messages) #foreach ($errorMessage in $messages.getStandardMessages())
$templateMessages.getMessage($errorMessage.getMessageKey(), $errorMessage.getParams())
#end #end
$templateMessages.getMessage($messageKeyPrefix, "required.fields.missing")
$templateMessages.getMessage($messageKeyPrefix, "recaptcha.failure")
#foreach ($field in $fields) #set( $fieldId = $field.getData().getId() ) #set( $escapedFieldId = $escape.escape($fieldId) ) #set( $fieldValue = $escape.escape($populateValues.get($fieldId)) ) #set( $required = "" ) #set( $validateRequired = "" ) #if( $field.isRequired() ) #set ($required = "required" ) #set ($validateRequired = "required-missing-display" ) #end #set( $fieldDisabled = "" ) #if( $field.isReadOnly() ) #set ($fieldDisabled = "disabled") #end #if( $field.getName() == "Checkbox Group" ) #set( $fieldValue = $populateValues.get($fieldId) ) #end #set( $disabledSelect = "" ) #if( $field.getName() == "Dropdown" && $field.isRequired() ) #set( $disabledSelect = "disabled" ) ## Override the required attribute if there was a default value for a dropdown. #if( !$field.getData().getDefaultValue().equals("") ) #set( $required = "" ) #end ## Override required if there is already a value that is a valid option. #if( $fieldValue && $field.getData().getOptions().contains($fieldValue) ) #set( $required = "" ) #end #end #if( $field.getName() == "Date" )
$templateMessages.getMessageWithDefault($messageKeyPrefix, "$fieldId", "$field.getData().getLabel()")
#elseif( $field.getName() == "Text" )
$templateMessages.getMessageWithDefault($messageKeyPrefix, "$fieldId", "$field.getData().getLabel()")
#elseif( $field.getName() == "Checkbox" )
$templateMessages.getMessage($messageKeyPrefix, "missingCheckbox")
#if( $fieldValue.equalsIgnoreCase("true") || $fieldValue.equalsIgnoreCase("on") ) #else #end $templateMessages.getMessageWithDefault($messageKeyPrefix, "$fieldId", "$field.getData().getLabel()")
#elseif( $field.getName() == "Checkbox Group" )
$templateMessages.getMessage($messageKeyPrefix, "missingCheckboxGroup")
$templateMessages.getMessageWithDefault($messageKeyPrefix, "$fieldId", "$field.getData().getLabel()")
#foreach( $option in $field.getData().getOptions() )
#if( $fieldValue.contains($option) ) #else #end $option
#end
#elseif( $field.getName() == "Email" )
$templateMessages.getMessageWithDefault($messageKeyPrefix, "$fieldId", "$field.getData().getLabel()")
#elseif( $field.getName() == "Phone" )
$templateMessages.getMessageWithDefault($messageKeyPrefix, "$fieldId", "$field.getData().getLabel()")
#elseif( $field.getName() == "Dropdown" ) $templateMessages.getMessageWithDefault($messageKeyPrefix, "$fieldId", "$field.getData().getLabel()")
#end #end
#if($isLocalRegistration) #set( $passwordRequirementOne = $templateMessages.getMessageWithDefault($messageKeyPrefix, "passwordRequirementOne", "") ) #set( $passwordRequirementTwo = $templateMessages.getMessageWithDefault($messageKeyPrefix, "passwordRequirementTwo", "") ) #set( $passwordRequirementThree = $templateMessages.getMessageWithDefault($messageKeyPrefix, "passwordRequirementThree", "") ) #set( $passwordRequirementFour = $templateMessages.getMessageWithDefault($messageKeyPrefix, "passwordRequirementFour", "") ) #if( $passwordRequirementOne && $passwordRequirementOne.trim() != "" || $passwordRequirementTwo && $passwordRequirementTwo.trim() != "" || $passwordRequirementThree && $passwordRequirementThree.trim() != "" || $passwordRequirementFour && $passwordRequirementFour.trim() != "") #set( $isShowPasswordRequirements = true ) #else #set( $isShowPasswordRequirements = false ) #end #if( $isShowPasswordRequirements )
$templateMessages.getMessage($messageKeyPrefix, "passwordRequirementTitle")
$templateMessages.getMessage($messageKeyPrefix, "passwordRequirementsContain")
#if( $passwordRequirementOne && $passwordRequirementOne.trim() != "" )
$templateMessages.getMessage($messageKeyPrefix, "passwordRequirementOne")
#end #if( $passwordRequirementTwo && $passwordRequirementTwo.trim() != "" )
$templateMessages.getMessage($messageKeyPrefix, "passwordRequirementTwo")
#end #if( $passwordRequirementThree && $passwordRequirementThree.trim() != "" )
$templateMessages.getMessage($messageKeyPrefix, "passwordRequirementThree")
#end #if( $passwordRequirementFour && $passwordRequirementFour.trim() != "" )
$templateMessages.getMessage($messageKeyPrefix, "passwordRequirementFour")
#end
$templateMessages.getMessage($messageKeyPrefix, "passwordTitle")
#if($altAuthSources && $altAuthSources.size() > 0 && $isLocalRegistration) #else #end
#end #if($showMyDeviceCheckbox)
$templateMessages.getMessage($messageKeyPrefix, "myDeviceTitle")
#end
$templateMessages.getMessage($messageKeyPrefix, "signUpButtonTitle") #if(!$isDirectLink) $templateMessages.getMessage($messageKeyPrefix, "cancelButtonTitle") #end
#if(!$isDirectLink)
$templateMessages.getMessage($messageKeyPrefix, "accountAlreadyCreated") $templateMessages.getMessage($messageKeyPrefix, "login")
#end #if($altAuthSources && $altAuthSources.size() > 0 && $isLocalRegistration)
$templateMessages.getMessage($messageKeyPrefix, "columnsSeparator")
$templateMessages.getMessage($messageKeyPrefix, "signUpWithButtonTitle")
#parse("alt-authn-source.template.html")
#end