[ 
https://issues.apache.org/jira/browse/KNOX-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13795264#comment-13795264
 ] 

Dilli Arumugam commented on KNOX-185:
-------------------------------------

Session based optimization kicks in only if the end user replays the session 
cookie.

If the end user makes multiple REST calls in quick session, passing 
userid/passwd each time without replaying session cookie, the new improvement 
should kick in.


> Use Shiro AuthenticationInfo caching to avoid repeated ldap bind
> ----------------------------------------------------------------
>
>                 Key: KNOX-185
>                 URL: https://issues.apache.org/jira/browse/KNOX-185
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: Server
>    Affects Versions: 0.4.0
>            Reporter: Dilli Arumugam
>            Assignee: Dilli Arumugam
>             Fix For: 0.4.0
>
>
> We should leverage AuthenticationInfo caching of Shiro to cut repeated ldap 
> binds for the same user in short time frame.  Otherwise, the REST calls can 
> tirgger too many ldap binds.
> We are using "ldap bind" here for simpilicity.  This is applicable really for 
> any auth store bind/lookup.
> it is possible we may be already getting this benefit.
> Would have to test, verify and fix as appropriate.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to