tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53777] Ability to bundle JAAS Configuration in Webappp
Date Sat, 25 Aug 2012 14:18:30 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53777

--- Comment #4 from Konstantin Kolinko <knst.kolinko@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message