Yes, that is basically what you need to do.
Also, if you are using a 3-tier deployment, so you have an app server, you'll need to configure the app server to disallow anonymous users and set it to impersonate the caller so the Windows identity flows from client to server along with your custom identity (assuming you actually care about the real Windows identity on the server for things like filesystem access, etc).
Copyright (c) Marimer LLC