A federated architecture approach for Internet of Things security