private fun getMergedAuthorization(name: String, nodeDefinition: NodeDefinition): MergedAuthorization
If present, returns nodeDefinition.mergedAuthorizations[name] If not, checks if the name is known, it returns an empty Authorization Otherwise throws an exception, has this hints at a misspelled name
Return
the found Authorization or a default empty one
Parameters
name
the name of the authorization
nodeDefinition
the NodeDefinition to get the authorization from
Throws
if the name is completely unknown