tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 40881] Unable to receive message through TCP channel -> Nullpointer
Date Fri, 17 Jul 2009 00:12:02 GMT

Mark Thomas <> changed:

           What    |Removed                     |Added
           Severity|normal                      |enhancement

--- Comment #11 from Mark Thomas <>  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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message