Delete Claim Dialects¶
There are two ways to delete claim dialects in MWARE IAM.
Use the management console¶
Follow the steps given below to remove claim dialects using the management console.
- Access the Management Console (
https://<IS_HOST>:<PORT>/carbon
). - Go to Main > Claims and click List.
-
Locate the claim dialect you want to delete and Delete next to the dialect.
-
Confirm your action in the dialog box by clicking Yes.
Use the configuration file¶
Alternatively, you can delete the claim dialect by deleting the relevant claim configuration in the claim-config.xml
configuration file (found in the <IS_HOME>/repository/conf
folder.
Note
The dialects configured in the <IS_HOME>/repository/conf/claim-config.xml
file get applied only when you start the product for the first time or for any newly created tenants.
With the first startup, dialects and claims are loaded from the file and persisted in the database. Any consecutive updates to the file will not be picked up.
A sample claim dialect is given below.
<Dialect dialectURI="http://wso2.org/SampleAppClaims">
<Claim>
<ClaimURI>http://wso2.org/SampleAppClaims/givenname</ClaimURI>
<DisplayName>First Name</DisplayName>
<MappedLocalClaim>http://wso2.org/claims/givenname</MappedLocalClaim>
</Claim>
<Claim>
<ClaimURI>http://wso2.org/SampleAppClaims/nickName</ClaimURI>
<DisplayName>Nick Name</DisplayName>
<MappedLocalClaim>http://wso2.org/claims/nickname</MappedLocalClaim>
</Claim>
</Dialect>
Related topics