title: SecurityException: caller uid XXXX is different than the authenticator's uid
body: <p>I received the above exception when trying to implement Sample Sync Adapter application. I have seen numerous posts related to this issue but no satisfactory response.</p>
  
  <p>So I will jot down <a href="https://stackoverflow.com/questions/3774282/securityexception-caller-uid-xxxx-is-different-than-the-authenticators-uid/5329490#5329490">my solution</a> here in case anyone else gets into the same issue.</p>