All Downloads are FREE. Search and download functionalities are using the official Maven repository.

profiles.input.microsoftAzure-v2.json Maven / Gradle / Ivy

{
    "description": "",
    "mode": "DEFAULT",
    "name": "sys:microsoftAzure-v2",
    "rules": [
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapIdentity",
				"parameters": [
					"identifier",
					"attr['sub']",
					"sys:all",
					"CREATE_OR_MATCH"
				]
			}
		},
        {
            "action": {
                "name": "mapAttribute",
                "parameters": [
                    "email",
                    "/",
                    "attr['preferred_username'] + '[CONFIRMED]'",
                    "CREATE_OR_UPDATE"
                ]
            },
            "condition": {
                "conditionValue": "attr contains 'preferred_username' and attr['preferred_username'].contains('@') and !(attr contains 'email')"
            }
        },
        {
            "action": {
                "name": "mapAttribute",
                "parameters": [
                    "email",
                    "/",
                    "attr['email'] + '[CONFIRMED]'",
                    "CREATE_OR_UPDATE"
                ]
            },
            "condition": {
                "conditionValue": "attr contains 'email'"
            }
        },
        {
            "action": {
                "name": "mapAttribute",
                "parameters": [
                    "firstname",
                    "/",
                    "attr['givenName']",
                    "CREATE_OR_UPDATE"
                ]
            },
            "condition": {
                "conditionValue": "true"
            }
        },
        {
            "action": {
                "name": "mapAttribute",
                "parameters": [
                    "surname",
                    "/",
                    "attr['surname']",
                    "CREATE_OR_UPDATE"
                ]
            },
            "condition": {
                "conditionValue": "true"
            }
        },
        {
            "action": {
                "name": "mapAttribute",
                "parameters": [
                    "name",
                    "/",
                    "attr['displayName']",
                    "CREATE_OR_UPDATE"
                ]
            },
            "condition": {
                "conditionValue": "true"
            }
        }
    ],
    "type": "INPUT",
    "ver": "2"
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy