My Oracle Support Banner

OAM Plugin Not Setting The KEY_IDENTITY_STORE_REF (Doc ID 2019719.1)

Last updated on JUNE 11, 2015

Applies to:

Oracle Access Manager - Version 11.1.2.2.2 and later
Information in this document applies to any platform.

Goal

OAM 11.1.2.2.2

You have a need to set the KEY_IDENTITY_STORE_REF dynamically.

You hard-coded the identity store name in KEY_IDENTITY_STORE_REF property of UserIdentificationPlugin, it always works.

Your requirement is to fetch the response set in DivIdentificationModule and set it to KEY_IDENTITY_STORE_REF property of UserIdentificationPlugin instead of hard coding it.

You have already tried by giving no value, { KEY_IDENTITY_STORE_REF } etc in KEY_IDENTITY_STORE_REF property of UserIdentificationPlugin but it did not work.

You would like to know if there is a sample how this can be set? Or this is a new feature or bug?

Here is the sample code you are using in DivIdentificationModule:

  CredentialParam param = authenticationContext.getCredential().getParam("DIV_ID");
  PluginResponse response = new PluginResponse();
  response.setName(PluginConstants.KEY_IDENTITY_STORE_REF);
  response.setType(PluginAttributeContextType.LITERAL);
  response.setValue(domain);
  status=ExecutionStatus.SUCCESS;
  System.out.println("MultiDomainPlugin:::Setting response..." + domain);
  authenticationContext.addResponse(response);

  

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.