August Lilleaas
08/22/2022, 11:21 AMApplicationRequest.javaSecurityPrincipal, in io/ktor/server/servlet/JAASBridge.kt which checks if the request is ServletApplicationRequest. As far as I can tell, this never works, since the request is always a RoutingApplicationRequest that delegates to the original request in io/ktor/server/routing/RoutingApplicationCall.kt - i.e. the is check doesn’t find the ServletApplicationRequest instance, just the RoutingApplicationRequest, as is does not check for delegates (?). Is this a bug? Or is there some other way to access the principal on the servlet request from Ktor?Aleksei Tirman [JB]
08/22/2022, 11:30 AMAugust Lilleaas
08/22/2022, 11:30 AMAugust Lilleaas
08/22/2022, 11:40 AMAugust Lilleaas
08/27/2022, 2:35 PMAugust Lilleaas
08/27/2022, 2:35 PMAugust Lilleaas
08/27/2022, 2:38 PM