Skip to main content
Skip table of contents

Certificate Widget

Definition

The Certificate Display Widget allows to configure the display of attributes with a binary type defining a certificate.

Configuration

Properties

Properties name

Type

Mandatory

Description

Values (default value in bold)

displayBorder

Boolean

NO

Allows to display a border around the certificate values.

true, false

i18nKey

String

NO

This i18n key is used to configure the display of the values ​​available for a certificate. If several certificates are displayed, they will all have the same configuration.

3 elements are configurable:

  • issuerDn: the full value of the Issuer DN

    • CN = company + certificate 

    • OU =

    • O = company

    • L = city

    • C = country

  • Date + hour

    • notBefore: the beginning of the validity date

    • notAfter: the end of the validity

  • subjectDN: the full value of the Subject DN

    • UID = user id

    • CN = full name + user id

    • OU = 

    • O = company

    • C = country

Example : {issuerDn_OU1} - {notAfter} - { subjectDn_OU1 }

If the i18n key is not configured, the default display will be all values of the Subject DN. 

ui.model

Example

CODE
<widget id="certificates" xsi:type="ctdbum:AttributeEditorWidgetType">
	<hidden>false</hidden>
    <config>
    	<editor>
        	<displayWidget xsi:type="ctdbum:CertificateDisplayWidgetType">
            	<hidden>false</hidden>
                <config>
                	<displayBorder>false</displayBorder>
                    <i18nKey>ui.model.attributes.certificates.text</i18nKey>
                </config>
            </displayWidget>
        </editor>
        <label></label>
        <lockedInUi>false</lockedInUi>
        <mode>READ</mode>
        <multiValued>true</multiValued>
        <override>true</override>
	</config>
    <attributeId>certificates</attributeId>
</widget>

Read Next

  • Features

    Design screens and business features to manage objects.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.