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

profiles.input.eduPerson.json Maven / Gradle / Ivy

{
	"ver": "2",
	"name": "sys:eduPerson",
	"description": "Translation profile for remote SAML(eduPerson) IdP authn",
	"type": "INPUT",
	"rules": [
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "includeInputProfile",
				"parameters": [
					"sys:saml"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonUniqueId",
					"/",
					"attr['eduPersonUniqueId']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonUniqueId",
					"/",
					"attr['urn:oid:1.3.6.1.4.1.5923.1.1.1.13']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"nickname",
					"/",
					"attr['eduPersonNickname']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"nickname",
					"/",
					"attr['urn:oid:1.3.6.1.4.1.5923.1.1.1.2']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"email",
					"/",
					"attr['mail']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"email",
					"/",
					"attr['urn:oid:0.9.2342.19200300.100.1.3']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "attr contains 'mobile'"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"mobile",
					"/",
					"String.valueOf(attr['mobile']).replace('(','').replace(')','').replace('.','').replace('-','').replace(' ','')",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "attr contains 'urn:oid:0.9.2342.19200300.100.1.41'"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"mobile",
					"/",
					"String.valueOf(attr['urn:oid:0.9.2342.19200300.100.1.41']).replace('(','').replace(')','').replace('.','').replace('-','').replace(' ','')",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"preferredLanguage",
					"/",
					"attr['preferredLanguage']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"preferredLanguage",
					"/",
					"attr['urn:oid:2.16.840.1.113730.3.1.39']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"certificate",
					"/",
					"attrs['userCertificate']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"certificate",
					"/",
					"attrs['urn:oid:2.5.4.36']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"picture",
					"/",
					"attr['jpegPhoto']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"picture",
					"/",
					"attr['urn:oid:0.9.2342.19200300.100.1.60']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"affiliation",
					"/",
					"attrs['eduPersonAffiliation']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"affiliation",
					"/",
					"attrs['urn:oid:1.3.6.1.4.1.5923.1.1.1.1']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"primaryAffiliation",
					"/",
					"attr['eduPersonPrimaryAffiliation']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"primaryAffiliation",
					"/",
					"attr['urn:oid:1.3.6.1.4.1.5923.1.1.1.5']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonEntitlement",
					"/",
					"attrs['eduPersonEntitlement']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonEntitlement",
					"/",
					"attrs['urn:oid:1.3.6.1.4.1.5923.1.1.1.7']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonAssurance",
					"/",
					"attrs['eduPersonAssurance']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonAssurance",
					"/",
					"attrs['urn:oid:1.3.6.1.4.1.5923.1.1.1.11']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonOrcid",
					"/",
					"attr['eduPersonOrcid']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonOrcid",
					"/",
					"attr['urn:oid:1.3.6.1.4.1.5923.1.1.1.16']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonOrgDN",
					"/",
					"attr['eduPersonOrgDN']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonOrgDN",
					"/",
					"attr['urn:oid:1.3.6.1.4.1.5923.1.1.1.3']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonOrgUnitDN",
					"/",
					"attrs['eduPersonOrgUnitDN']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonOrgUnitDN",
					"/",
					"attrs['urn:oid:1.3.6.1.4.1.5923.1.1.1.4']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonPrimaryOrgUnitDN",
					"/",
					"attr['eduPersonPrimaryOrgUnitDN']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonPrimaryOrgUnitDN",
					"/",
					"attr['urn:oid:1.3.6.1.4.1.5923.1.1.1.8']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonPrincipalName",
					"/",
					"attr['eduPersonPrincipalName']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonPrincipalName",
					"/",
					"attr['urn:oid:1.3.6.1.4.1.5923.1.1.1.6']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonPrincipalNamePrior",
					"/",
					"attrs['eduPersonPrincipalNamePrior']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonPrincipalNamePrior",
					"/",
					"attrs['urn:oid:1.3.6.1.4.1.5923.1.1.1.12']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonScopedAffiliation",
					"/",
					"attrs['eduPersonScopedAffiliation']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonScopedAffiliation",
					"/",
					"attrs['urn:oid:1.3.6.1.4.1.5923.1.1.1.9']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonTargetedID",
					"/",
					"attrs['eduPersonTargetedID']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"eduPersonTargetedID",
					"/",
					"attrs['urn:oid:1.3.6.1.4.1.5923.1.1.1.10']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"displayName",
					"/",
					"attr['displayName']",
					"CREATE_OR_UPDATE"
				]
			}
		},
		{
			"condition": {
				"conditionValue": "true"
			},
			"action": {
				"name": "mapAttribute",
				"parameters": [
					"displayName",
					"/",
					"attr['urn:oid:2.16.840.1.113730.3.1.241']",
					"CREATE_OR_UPDATE"
				]
			}
		}
	]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy