use of org.usermanagement.model.Message in project open-kilda by telstra.
the class SamlService method deleteByUuid.
/**
* Delete provider.
*
* @param uuid the uuid
* @return delete message
*/
public Message deleteByUuid(String uuid) {
SamlConfigEntity samlConfigEntity = samlValidator.getEntityByUuid(uuid);
samlRepository.delete(samlConfigEntity);
metadataManager.deleteProviderFromMetadataManager(samlConfigEntity);
return new Message("Provider deleted successfully");
}
Aggregations