koufa
07/09/2023, 10:06 PMactors . I want to confine access to a resource based on user id. For example let's say I have Server A calling Server B and in Server B I want to confine access based on user id contained in the http requests. I was thinking of creating a WeakHashMap in Server B where I would store Kotlin Coroutine actor and using the userId as an key. Then I would use the actor to confine access to a resource. Would that work ? Do you have any alternative proposals?Arjan van Wieringen
07/11/2023, 4:25 PMkoufa
07/11/2023, 7:43 PMArjan van Wieringen
07/11/2023, 8:10 PM