You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Pradeep Agrawal (Jira)" <ji...@apache.org> on 2022/04/29 17:25:00 UTC

[jira] [Created] (RANGER-3741) Ranger PamAuthentication is slow

Pradeep Agrawal created RANGER-3741:
---------------------------------------

             Summary: Ranger PamAuthentication is slow
                 Key: RANGER-3741
                 URL: https://issues.apache.org/jira/browse/RANGER-3741
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
            Reporter: Pradeep Agrawal


Ranger PamAuthentication is slow, it takes 3 seconds to finish the authentication whether its success or fail. 

If PamAuthentication is enabled then even for the basic jdbc authentication the PamAuthentication check is executed first and after the PamAuthentication failure basic jdbc auth is attempted. this way all the basic jdbd auth request takes 3 seconds more which slow downs the large number of subsequent request.

 

Ranger PamAuthentication uses [https://mvnrepository.com/artifact/org.kohsuke/libpam4j] library which is old and based on native c code. 

I have tried with latest available version and latest jna version also but with that also there is no improvement in the response time.

 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)