When serverSMEType is set to COOKIE_BASED, irrespective Authmodule configured , OAM search users in default store (Doc ID 2080850.1)

Last updated on SEPTEMBER 18, 2016

Applies to:

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

Symptoms

When serverSMEType  is set to COOKIE_BASED, The logon is redirected to DCC/ECC  login page and after credential submission , OAM Authenticate user against default store ,irrespective Authmodule configured.

      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: oracle.security.am.engines.common.identity.provider.exceptions.IdentityProviderException: OAMSSA-20101: No valid users for the condition: attribute loginid and value user.1 in idstore UserIdentityStore1
      at oracle.security.am.engines.common.identity.provider.impl.ids.IDSUserProviderImpl.locateUser(IDSUserProviderImpl.java:900)
      at oracle.security.am.engines.common.identity.provider.impl.ids.IDSUserProviderImpl.getUsersByAttribute(IDSUserProviderImpl.java:283)
      at oracle.security.am.engines.common.identity.provider.impl.IdentityProviderImpl.getUsersByAttribute(IdentityProviderImpl.java:895)
      at oracle.security.am.engines.common.identity.provider.impl.OracleUserIdentityProvider.getUsersByAttribute(OracleUserIdentityProvider.java:339)
      at oracle.security.am.engine.authn.internal.executor.AuthenticationModuleExecutor.execute(AuthenticationModuleExecutor.java:262)
      ... 31 more

Changes

 Changed serverSMEType to COOKIE_BASED, that is Client-side (or cookie-based) session management is enabled.

wls:/base_domain/serverConfig> displaySSOSessionType ()
SSo session type is : null

wls:/base_domain/serverConfig> configSSOSessionType(type="COOKIE_BASED",cookieDomain=".oracle.com")
SSO session type updated successfully

wls:/base_domain/serverConfig>  displaySSOSessionType ()
SSo session type is : COOKIE_BASED


snippets from oam-config.xml after above wlst


            <Setting Name="serverConfig" Type="htf:map">
              <Setting Name="serverCookieType" Type="xsd:string">host</Setting>
              <Setting Name="serverCookieDomain" Type="xsd:string">.oracle.com</Setting>
              <Setting Name="serverRequestCacheType" Type="xsd:string">COOKIE</Setting>
              <Setting Name="serverRequestCacheSize" Type="xsd:string">3000</Setting>
              <Setting Name="serverRequestCacheTTL" Type="xsd:string">0</Setting>
              <Setting Name="serverSMEType" Type="xsd:string">COOKIE_BASED</Setting>
            </Setting>

Changes was made as per "17.7 Understanding Client-Side Session Management"

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms