Iker Casillas is determined to spend the rest of his career at Real Madrid despite accepting he may not be first-choice goalkeeper any more.