Changed checkImpersonate to get the request object from the ContextManger. Also cleaned up debug statements to be wrappered with isdebugenabled calls.
Authored by: erikb78 2011-05-23
Parent: [r5291]
Child: [r5293]