This message was deleted.
# general
s
This message was deleted.
e
@Felix GV do you have any opinion on this?
f
You’re right, I don’t see usage of this… I think we do it via the other interface,
DynamicAccessController::hasAccess
… there is another thread in which we discuss combining these two into one.
z
Beat me to it, this is the answer. This is the newer interface we've yet to migrate everything to
e
How do we map a request to a Principal?
z
Client certificate principal. It requires mutual auth
e
Only TLS?
z
Today yes
Hrm. Though I wonder how tricky it'd be to add an interface for extracting a principal
e
Can you give me a pointer to the place where we do it?
z
Yeah can do soon, heading to office now. But there should be a class called something like Aclhandler.java? It's one of the handlers used in the server and router path
There should be some logic which handles an x509 certificate
I can’t find any implementation of DynamicAccessController given that I can provide an implementation… could I configure the classname somewhere ?
here it seems that I cannot configure it
z
It's supposed to provide utility where you provide the class name, if it doesn't that's a bug.
The current only implementation we have is an internal one which wraps the LinkedIn security teams enforcement logic
e
should I create a GH issue in order to make it configurable ? it looks like a show stopper for my POC
z
Yes
I'll be able to give a thorough response in maybe another 20 minutes?
e
no hurry, soon it will be dinner time for me 🤣
I will create the issue tomorrow
if we don’t find a way
z
Got it. I'll respond in this thread then with what I puzzle out
e
thank you very much !
f
We have
ReflectUtils
for the purpose of instantiating objects by class name. We should provide an option to do that on all 3 services.