4 Configured jps-config.xml

Update the jps-config.xml

Edit $DOMAIN_HOME/config/fmwconfig/jps-config.xml file and add following entries.

  1. Find <serviceProviders> tag in the file, add below serviceProvider between <serviceProviders></serviceProviders>.
    <serviceProvider type="IDENTITY_STORE" name="custom.provider"          
    class="oracle.security.jps.internal.idstore.generic.GenericIdentityStoreProvider">          
    <description>Custom IdStore Provider</description></serviceProvider>
  2. Find <serviceInstances> tag in the file, add below serviceInstances between <serviceInstances></serviceInstances>.
    <serviceInstance name="idstore.custom" provider="custom.provider" location="dumb">
    <description>Custom Identity Store Service Instance</description>        
    <property name="idstore.type" value="CUSTOM"/>        
    <property name="ADF_IM_FACTORY_CLASS"         
    value="com.ofss.sms.dbAuthenticator.providers.db.DBIdentityStoreFactory"/>        
    <property name="DATASOURCE_NAME" value="DIGX"/>        
    </serviceInstance>
  3. Find <jpsContext name="default"> tag in the file, add below serviceInstanceRef between <jpsContext name="default"></jpsContext>.
    <serviceInstanceRef ref="idstore.custom"/>