We are using claims authentication which means sp-sts authenticates the user. we have a custom membership provider that authenticates but we want to change the username. we tried setting the name claim and the SPLogonUser claim in our claims provider but that doesn't work...what is the way to set the name claim for SP-STS?
So basically, the user logons to the site, sts validates the user, now we have to change to username, and we tried to add nameidentifier claim, but apparently sharepoint adds this claim again, and it throws exception for duplicate claims