By default, the SCIM servlet is configured to use the Exact Match Identity Mapper, which matches against the uid attribute. In this example, an alternate Identity Mapper is created so that clients can authenticate using cn values.

  1. Create a new Identity Mapper that uses a match attribute of cn.
    $ bin/dsconfig create-identity-mapper \
      --mapper-name "CN Identity Mapper" \
      --type exact-match \
      --set enabled:true \
      --set match-attribute:cn
  2. Configure the SCIM servlet to use the new Identity Mapper.
    $ bin/dsconfig set-http-servlet-extension-prop \
      --extension-name SCIM \
      --set "identity-mapper:CN Identity Mapper"