Older version2.8 ValvesADADRemoveDomainValve

ADRemoveDomainValve

In Microsoft Active Directory login often occur according to these examples:
Contoso\bobbyc
[email protected]

This valve will remove the domain part and only keep the login name, bobbyc:
Contoso\bobbyc -> bobbyc
[email protected] -> bobyc

If no items are found, new value will be set on flow attribute. If items are found, new value will be set on first item.

Does not support item sets of more than one.

Properties

Name Description Default value Mandatory Supports property expansion
uid_param_name Source attribute User-Name No Yes
uid_attribute_name New target attribute username No No

Example Configuration

{
    "name": "ADRemoveDomainValve",
    "config": {
	 "uid_param_name":"{{request.upn}}",
	 "uid_attribute_name":"cleanUpn"
    }
}

Requirements