putAttributeMapping

Put an entry in the attribute mapping rules that will be enforced by a given profile. A mapping specifies a certificate field and one or more specifiers that have contextual meanings.

Samples

// PutAttributeMapping Adds a custom attribute mapping rule
val resp = rolesAnywhereClient.putAttributeMapping {
    profileId = "00000000-0000-0000-0000-000000000000"
    mappingRules = listOf<MappingRule>(
        MappingRule {
            specifier = "CN"
        }            
    )
    certificateField = CertificateField.fromValue("x509Subject")
}