This documentation is for WSO2 API Manager 1.4.0 View documentation for the latest release.
Page Comparison - Saving Access Tokens in Separate Tables (v.3 vs v.4) - API Manager 1.4.0 - WSO2 Documentation

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Also set the user store domain names and mappings to new table names. For example,

  • if userId = where '' is the user store domain name, then a 'mapping:domain' combo can be defined as ''.
  • 'A' is the mapping for the table that stores tokens relevant to users coming from '' user store.


According to the information given above, change the following section under the <APIKeyManager> element in the identity.xml file .as shown in the following example:

Code Block
<!-- Assertions can be used to embedd parameters into access token.-->

<!-- This should be set to true when using multiple user stores and keys should saved into different tables according to the user store. By default all the application keys are saved in to the same table. UserName Assertion should be 'true' to use this.-->
     <!-- user store domain names and mappings to new table names. eg: if you provide '', should be the user store domain   
     name and 'A' represent the relavant mapping of token storing table, i.e. tokens relevant to the users comming from user store     
     will be added to a table called IDN_OAUTH2_ACCESS_TOKEN_A. --> 
     <AccessTokenPartitioningDomains><!--, --></AccessTokenPartitioningDomains>