https://issues.apache.org/bugzilla/show_bug.cgi?id=53777

--- Comment #4 from Konstantin Kolinko <knst.koli...@gmail.com> ---
(In reply to comment #1)
> method parseClassNames in JAASRealm sometimes (not always) uses as
> ContextClassLoader this one
> 
> WebappClassLoader
>   context: /manager
>   delegate: false
>   repositories:
> ----------> Parent Classloader:
> org.apache.catalina.loader.StandardClassLoader@9fa0f19
> 
> In my case this causes JASSRealm not to find custom Principal classes
> (userClassNames and roleClassNames)

If your <Realm> is in conf/context.xml this behaviour is as expected,
because the conf/context.xml file is shared by all web applications, including
the Manager one.

If you observe it is different circumstances, please file a separate bug report
and include the stacktrace from the thread that calls parseClassNames.
(If TCCL is set incorrectly by the calling thread that would be a bug).

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to