Jasig/cas — pull request #768 by serac (2014-11-17 16:31:39+00:00)
Title: Fix for #763: fetch ticket and do proxy check before callback.

This fix simply puts the ticket retrieval and proxy checks before the callback attempt, which happens in `this.authenticationManager.authenticate(credentials)`. Testing in our preprod environment indicates this prevents the callback with an invalid or unauthorized proxy while still permitting a successful proxy validation under expected success conditions.