Analytics Login Events are Not Showing When Using Group Options if WebCenter Portal is Configured with Active Directory as External LDAP
(Doc ID 2760769.1)
Last updated on JULY 24, 2023
Applies to:
Oracle WebCenter Portal - Version 12.2.1.3.0 and laterInformation in this document applies to any platform.
Symptoms
ACTUAL BEHAVIOR
Analytics Login Events are not showing when using group options if WebCenter Portal is configured with Active Directory as External LDAP.
The following is observed:
- Login metrics show in the Analytics page if not using any group options.
- Using group option by User Property doesn't show any login metrics.
- Login events are properly recorded when using embedded LDAP.
- Issue only reproduces when using Active Directory as an external LDAP.
- Issue reproduces in 12.2.1.3 and 12.2.1.4.
EXPECTED BEHAVIOR
Expect the login metrics to work properly when using Active Directory.
STEPS
The issue can be reproduced at will with the following steps:
- Add the Analytics System Page to WebCenter Portal.
- Login with some users from Active Directory.
- Look a the Login metrics on the Analytics page.
If you look at login metrics without grouping options, you can see the login count is increasing.
If you select group by User Property, then the Login Metrics says "No data to ..
- Enable the following logger from wlst:
Note: Replace WC_Portal with the name of your portal managed server.
setLogLevel(target='WC_Portal',logger='oracle.webcenter.framework.service.AnalyticsUtil',level='FINEST', addLogger=1)
- Login to WebCenter Portal with a user from Active Directory.
- Look at the portal managed server diagnostic log file.
Here you will see an entry like this where it shows the login event is sending null user:
[<TIMESTAMP>] [WC_Portal] [TRACE] [] [oracle.webcenter.framework.service.AnalyticsUtil] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USERID>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID:<DSID>] [SRC_CLASS: oracle.webcenter.framework.service.AnalyticsUtil] [SRC_METHOD: sendUserProperties] ***** SENDING EVENT : type = {HTTP://WWW.BEA.COM/ANALYTICS}USER_PROFILE, user = null
While on an instance with embedded LDAP the entry shows the actual userid.
- Do not forget to disable the logger after testing:
setLogLevel(target='WC_Portal',logger='oracle.webcenter.framework.service.AnalyticsUtil',level='', addLogger=1)
Cause
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
Symptoms |
Cause |
Solution |
References |