There are two ways you could approach this:
- You can override the roles that are issued by AD using the claim rules settings in your relying party. Take a look at the Geneva Server documentation to see how to setup your attribute store to pull out your role claims and then how to transform these into the role claim.
- If you want, you can also name the roles claim as anything you want. Then in your web application, you can specify which claims map to the roles for your user. To do this, use the roleClaimTypes configuration as shown here:
<SecurityTokenHandlers>
<remove type="Microsoft.IdentityModel.Tokens.Saml11.
Saml11SecurityTokenHandler, Microsoft.IdentityModel,Version=0.4.1.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add type="Microsoft.IdentityModel.Tokens.Saml11.
Saml11SecurityTokenHandler, Microsoft.IdentityModel,
Version=0.4.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<samlSecurityTokenRequirement audienceUriMode="Never">
<nameClaimType value="http://schemas.contoso.com/ws/2005/05/
claims/name"/>
<roleClaimTypes>
<add value="http://schemas.contoso.com/samples/2008/09/claims/
permission"/>
</roleClaimTypes>
</samlSecurityTokenRequirement>
</add>
</SecurityTokenHandlers>
Hope this helps.