Re: NullPointerException in MemoryRealm after upgrading to Tomcat 8.0.32 from 7.0.26

2016-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, On 3/10/16 4:40 PM, Jason Overland wrote: > Chris, > > On Thu, Mar 10, 2016 at 6:18 AM, Christopher Schultz > wrote: >> Give this patch a try: ... I have no idea how the options get >> parsed; we'll see if this simple implementation will get

Re: NullPointerException in MemoryRealm after upgrading to Tomcat 8.0.32 from 7.0.26

2016-03-10 Thread Mark Thomas
On 10/03/2016 21:40, Jason Overland wrote: > Chris, > > On Thu, Mar 10, 2016 at 6:18 AM, Christopher Schultz > wrote: >> Give this patch a try: >> ... >> I have no idea how the options get parsed; we'll see if this simple >> implementation will get you going again. >> >> -chris >> > > The parsin

Re: NullPointerException in MemoryRealm after upgrading to Tomcat 8.0.32 from 7.0.26

2016-03-10 Thread Jason Overland
Chris, On Thu, Mar 10, 2016 at 6:18 AM, Christopher Schultz wrote: > Give this patch a try: > ... > I have no idea how the options get parsed; we'll see if this simple > implementation will get you going again. > > -chris > The parsing is working correctly. After applying the patch I could logi

Re: NullPointerException in MemoryRealm after upgrading to Tomcat 8.0.32 from 7.0.26

2016-03-10 Thread Christopher Schultz
Jason, On 3/9/16 1:19 PM, Jason Overland wrote: > For what it's worth, that analysis & approach to fixing seem > reasonable to me. Yes I'll be glad to file a bug report and test a > patch. Give this patch a try: CUT = Index: java/org/apache/catalina/realm/JAASMemoryLog

Re: NullPointerException in MemoryRealm after upgrading to Tomcat 8.0.32 from 7.0.26

2016-03-09 Thread Jason Overland
Chris, Thanks for the quick and informative response. On Wed, Mar 9, 2016 at 7:26 AM, Christopher Schultz wrote: > >> For authentication our configuration is using a MemoryRealm with >> digest="SHA". We are storing usernames and passwords in a >> tomcat-users.xml file. We are using a jaas.conf

Re: NullPointerException in MemoryRealm after upgrading to Tomcat 8.0.32 from 7.0.26

2016-03-09 Thread Christopher Schultz
Jason, On 3/8/16 8:44 PM, Jason Overland wrote: > Okay, so I checked out Tomcat 8.0.32 from source control. I then > reverted MemoryRealm's authenticate method to how it was in 7.0.26 and > built Tomcat and now my authentication works. This of course is not a > solution, but it obviates most of m

Re: NullPointerException in MemoryRealm after upgrading to Tomcat 8.0.32 from 7.0.26

2016-03-08 Thread Jason Overland
Okay, so I checked out Tomcat 8.0.32 from source control. I then reverted MemoryRealm's authenticate method to how it was in 7.0.26 and built Tomcat and now my authentication works. This of course is not a solution, but it obviates most of my other questions. I guess the important question is: ho

NullPointerException in MemoryRealm after upgrading to Tomcat 8.0.32 from 7.0.26

2016-03-08 Thread Jason Overland
Hi, I'm upgrading an existing Vaadin 6 application from Tomcat 7.0.26 to Tomcat 8.0.32 and have some questions. I'm using Windows 7 and debugging in Eclipse. For authentication our configuration is using a MemoryRealm with digest="SHA". We are storing usernames and passwords in a tomcat-users.xm