MULE-7865 - adding oauth 2.0 authorization code grant type support

Is this really needed?
And if it's needed, shouldn't this check be thread safe?