Security

Scripted Authentication

keerthana_k
Communicator

Hi,

We are using scripted authentication in our application. We have implemented the authentication script with all the required methods. These are my settings in authentication.conf:

[authentication]
authType = Scripted
authSettings = script

[script]
scriptPath = "<path to my script>"
scriptSearchFilters = 1

# Cache results for 1 second per call
[cacheTiming]
userLoginTTL    = 1
getUserInfoTTL  = 1
getUsersTTL     = 1

When I monitor the script logs I am seeing that the getUsers() and getUserInfo() methods get called every 30 seconds even when no user is logged into the application. Can anyone please help me out with these methods and explain why are they being called even when no user is logged in. Am I missing something?

Thanks,

Keerthana

Tags (1)
0 Karma
1 Solution

LukeMurphey
Champion

I noticed the same thing when I wrote an app to perform authentication via RADIUS. In my case, I had my application cache the user info and only update the cache with the information from the server when the user logs in. That way, calls to getUserInfo() don't require a server call.

0 Karma
Get Updates on the Splunk Community!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...