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

Deepak Purbia commented on DIRAPI-362:
--------------------------------------

As you explained I have to create multiple connection for each user and that 
connection object i need to store in in-memory object so if again that user 
came i can query using that previously created connection. But here the problem 
is that i have large number of user for all the which login i have keep their 
connection preserve..

Now I will come to my previous comment about user based token(auth token). What 
I was thinking that if we somehow can figure out something like other auth 
services in which once user login into system we get the token  from auth 
service and we can query auth server using that token so we don't have to 
maintain connection here . We can query using that token only and that token 
can also be preserved on UI (or anywhere in DB)of application so if user 
perform any operation than that token can be supplied in api for authorisation.

So if i summarize all i need one time authentication (login) so i can verify 
valid users are login in system and after that i need to authorize all user's 
query which are querying my system.

> Multiple client login Using Apache Directory Client API
> -------------------------------------------------------
>
>                 Key: DIRAPI-362
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-362
>             Project: Directory Client API
>          Issue Type: Question
>    Affects Versions: 2.0.0
>            Reporter: Deepak Purbia
>            Priority: Major
>
> Hi,
> I wan to Integrate Active Directory in my current web application for this I 
> am using Apache Directory Client API . I am following this guide  
> [https://directory.apache.org/api/user-guide.html] for client implementation. 
> But in this guide i only see connection is used by single client only. What 
> if multiple client login .  How do I manage multiple client session in LDAP  
> client. Is there any way to support this kind of situation.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to