Securisation of Rest webservice by httpbasic authentication.