check the specified hrn against the target hrn in the credential