You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2017/11/18 14:00:45 UTC

[Bug 61780] If AuthConfigFactoryImpl.getRegistrationIDs() is called to get the IDs of all active registrations, it always returns the default registration id in the result list

https://bz.apache.org/bugzilla/show_bug.cgi?id=61780

Lazar <la...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Lazar <la...@gmail.com> ---
This pull request contains a test case, which illustrates the problem and a fix
for it: https://github.com/apache/tomcat/pull/88

One comment - in the proposed fix I add a check if the default registrations
map is empty. However, here the check for null seems not to be necessary as the
map is created upon creation of the AuthConfigFactoryImpl instance.

-- 
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