class SecurityServiceImpl implements SecurityService {

    @Override
    public Response deleteSecurityConfig(String id, HttpHeaders headers) {
        securityRepository.deleteById(UUID.fromString(id));
        SecurityConfig sc = securityRepository.findById(UUID.fromString(id));
        if (sc == null) {
            return new Response<>(1, success, id);
        } else {
            return new Response<>(0, "Reason Not clear", id);
        }
    }

}