How To
Archived

How do I improve OAuth 2.0 performance in OpenAM 13.0?

Last updated Jan 5, 2021

The purpose of this article is to provide information on improving OAuth 2.0 performance in OpenAM 13.0.


Archived

This article has been archived and is no longer maintained by ForgeRock.

Improving OAuth 2.0 performance

In OpenAM 13.0, there is a known performance issue: OPENAM-8023 (OAuth2 load: contention at com.sun.identity.sm.ServiceConfigImpl.getInstance level (perf regression compared to AM12.0.2)). This issue is resolved in OpenAM 13.5. 

You can mitigate this issue in OpenAM 13.0 as follows:

  1. Create a completely empty file. For example, you can use the following command if you are using a Linux® or Unix® operating system: $ touch [filename]
  2. Run the following ssoadm commands against all realms where you are using OAuth2: $ ./ssoadm add-svc-realm -e [realmname] -s ScriptingService -u [adminID] -f [passwordfile] -D [emptyfile] $ ./ssoadm create-sub-cfg -e [realmname] -s ScriptingService -g scriptConfigurations -u [adminID] -f [passwordfile] -D [emptyfile]  replacing [realmname], [adminID], [passwordfile] and [emptyfile] with appropriate values.

See Also

N/A

Related Training

N/A

Related Issue Tracker IDs

OPENAM-8023 (OAuth2 load: contention at com.sun.identity.sm.ServiceConfigImpl.getInstance level (perf regression compared to AM12.0.2))


Copyright and Trademarks Copyright © 2021 ForgeRock, all rights reserved.