steinarb commented on issue #1500:
URL: https://github.com/apache/shiro/issues/1500#issuecomment-2155845898

   @lprimak Re: context class loader: I tried two ways of ensuring that the 
package containing 
org.apache.shiro.web.filter.authc.PassThruAuthenticationFilter was available to 
the code calling the parser:
   
   1. Explicit import of package org.apache.shiro.web.filter.authc in the 
maven-bundle-plugin config
   2. Instantiating 
org.apache.shiro.web.filter.authc.PassThruAuthenticationFilter in the class 
calling the parser (which, looking at the MANIFEST.MF, had the same effect as 
the first attempt)
   
   Neither of them worked wrt. to the parser instantiating the class, and 
looking at https://stackoverflow.com/a/23186987 it is not surprising, because 
if that stack overflow answer is to be believed, in OSGi the ContextClassLoader 
is undefined and may be null.
   
   re: simple test case/repro: I will see what I can do


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to