Add application_credential as a CADF type

This change adds 'application_credential' as a
'data/security/credential' CADF type, so that upon creating the CADF
payload the target URI is set to a valid type and not to 'unknown'.

Change-Id: I201ce5983409d99cbcaf0f0081be857b3194fa79
This commit is contained in:
Colleen Murphy 2019-06-05 12:37:30 -07:00
parent 3d2b293d7e
commit 2cb0ba53ce
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ CADF_TYPE_MAP = {
'OS-OAUTH1:access_token': taxonomy.SECURITY_CREDENTIAL,
'OS-OAUTH1:request_token': taxonomy.SECURITY_CREDENTIAL,
'OS-OAUTH1:consumer': taxonomy.SECURITY_ACCOUNT,
'application_credential': taxonomy.SECURITY_CREDENTIAL,
}
SAML_AUDIT_TYPE = 'http://docs.oasis-open.org/security/saml/v2.0'