The company I work for at the moment uses a custom provider for authentication. That works well but apparently the login name put into the login control, to authenticate with, must not be used anymore but should be replaced with a certain number where several members map to the same number for their offices. After successful authentication I need to replace the User.Identity.Name with that particular number that I should retrieve from the database. How can this be done? Create a new HttpModule that inherits from the FormsAuthenticationModule? If so which method/event to override?
...
Go to the complete details ...