German Chancellor Angela Merkel has faced pressure to harden her line on security after a string of attacks claimed by Islamic State across Europe and criticism of her decision to let in about 900,000 migrants last year.