https://issues.apache.org/bugzilla/show_bug.cgi?id=40881
Mark Thomas <ma...@apache.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #11 from Mark Thomas <ma...@apache.org> 2009-07-16 17:11:59 PST --- Changing this to an enhancement request. The patch as provided can not be applied. GenericPrincipal is not Serializable so this would break all the existing Realms. Tracing through the code, it is the test for if (!(gp.getRealm() == this)) in RealmBase.hasRole() that is at the root of all the complication. The only purpose of that code for quite some time is to log a debug message. Therefore, it should be possible to remove the Realm completely from GenericPrincipal making it easy to make it Serializable. That said, these sort of changes are going to be API changing so will almost certainly have to limited to trunk (aka Tomcat 7). I'll propose this change on the dev list. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- 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