94 private links
Definition of terms There are three categories of support for integrated products to HCL Connections
Documentation
Official documentation
HCL Connections NodeRed nodes
Diff tool for file and folder comparison
It turns out that the clou of the solution was in this little piece: security.oauth20.token.limit.error. The users were running into a limit.
The OAuth token limit is set in the <DMGR profile path>/config/cells/<yourCell>/oauth20/connectionsProvider.xml file:
<!-- optional limit for the number of tokens a user/client/provider combination can be issued -->
<parameter name="oauth20.token.userClientTokenLimit" type="ws" customizable="true">
<value>250</value>
</parameter>
The default value is ‘250’. The recommended value is ‘500’. You can see if your users were indeed running into this limit by running the following SQL query (query based on MS SQL server, but pretty similar in DB2 or Oracle):
Extending OAuth Cache count to 500
Sort all tokens by username and count:
SELECT authCache.USERNAME, person.DISPLAYNAME, COUNT(*) AS tokens
FROM HOMEPAGE.OH2P_CACHE AS authCache
INNER JOIN HOMEPAGE.LOGINNAME AS loginName ON (loginName.LOGINNAME = authCache.USERNAME)
INNER JOIN HOMEPAGE.PERSON AS person on(person.PERSON_ID = loginName.PERSON_ID)
GROUP BY authCache.USERNAME, person.DISPLAYNAME
ORDER BY COUNT(*) DESC
Show token count for single user
SELECT count(*) FROM HOMEPAGE.OH2P_CACHE WHERE clientid = 'conn-rte' AND USERNAME = 'username'
Delete tokens for single user:
DELETE FROM HOMEPAGE.OH2P_CACHE WHERE clientid = 'conn-rte' AND USERNAME = 'username'
Solution:
Edit /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells/<cellname>/oauth20/connectionsProvider.xml
and set
<!-- optional limit for the number of tokens a user/client/provider combination can be issued -->
<parameter name="oauth20.token.userClientTokenLimit" type="ws" customizable="true">
<value>250</value>
</parameter>
this value to 500!
news-config.xml
:
<!-- Each month a scheduled task runs to cleanup the oauth 2P Cache table in Homepage. -->
<task description="Job to clean up the OAuth 2P Cache" enabled="true" interval="0 0 6 ? * SUN" mbeanMethodName="" name="OAuth2PCacheCleanup" scope= "cluster" serverName="unsupported" startby="" targetName="ScheduledTaskService" type="internal">
</task>
We'll take a look at how UUIDs work and how the modern versions are implemented - bit operations, security concerns, and more.
I decided to write a series of user-interface (UI) tests for the GitLab website as an exercise to test out the pytest-selenium plugin. The plugin works as a pytest fixture. Instead of passing a web…
Have you ever discovered a bug in a web app? Almost everyone has. Web UI testing is a great way to catch bugs, but it can be difficult.
Perform simple and scalable automation tests with python and pytest. Learn how to run your Automation test script in with pytest in this Selenium Python.
Pytest documentation
Pytest is test framework used to make simple, yet scalable test cases with ease. Let's learn how to Automate test process using Pytest and Selenium WebDriver.
I used unittest and selenium before, but heared that pytest is newer and the better approach. I'm in the beginning of building tests for HCL Connections and will check if pytest is really better or easier than unittest.