Skip to content

Commit a20b7d9

Browse files
committed
Remove legacy auth server.
1 parent ba58842 commit a20b7d9

File tree

13 files changed

+2
-734
lines changed

13 files changed

+2
-734
lines changed

builds/install/arch-specific/win32/BuildExecutableInstall.bat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,6 @@ set FBBUILD_INSTALL_IMAGES=%FB_ROOT_PATH%\builds\install_images
254254
copy %FB_TEMP_DIR%\%FBBUILD_BUILDTYPE%\yvalve\fbclient.pdb %FB_OUTPUT_DIR%\ > nul
255255
copy %FB_TEMP_DIR%\%FBBUILD_BUILDTYPE%\engine\engine*.pdb %FB_OUTPUT_DIR%\plugins\ > nul
256256
copy %FB_TEMP_DIR%\%FBBUILD_BUILDTYPE%\fbtrace\fbtrace.pdb %FB_OUTPUT_DIR%\plugins\ > nul
257-
copy %FB_TEMP_DIR%\%FBBUILD_BUILDTYPE%\legacy_auth\legacy_auth.pdb %FB_OUTPUT_DIR%\plugins\ > nul
258257
copy %FB_TEMP_DIR%\%FBBUILD_BUILDTYPE%\legacy_usermanager\legacy_usermanager.pdb %FB_OUTPUT_DIR%\plugins\ > nul
259258
copy %FB_TEMP_DIR%\%FBBUILD_BUILDTYPE%\srp\srp.pdb %FB_OUTPUT_DIR%\plugins\ > nul
260259
copy %FB_TEMP_DIR%\%FBBUILD_BUILDTYPE%\udr_engine\udr_engine.pdb %FB_OUTPUT_DIR%\plugins\ > nul

builds/install/misc/firebird.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,8 +507,6 @@
507507
# Make sure your keys are well encrypted before enabling this parameter. Take into
508508
# account that with AllowEncryptedSecurityDatabase=TRUE, unencrypted key transfer
509509
# may take place even when the security database is not encrypted.
510-
# This feature is not supported by legacy authentication plugin - if you care
511-
# about security please never use legacy authentication.
512510
#
513511
# Type: boolean
514512
#

builds/posix/Makefile.in

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -619,10 +619,9 @@ $(NBACKUP): $(NBACKUP_Objects) $(COMMON_LIB)
619619
# plugins - some of them are required to build examples, use separate entry for them
620620
#
621621

622-
.PHONY: udr legacy_user_management legacy_auth_server trace auth_debug udf_compat chacha profiler
622+
.PHONY: udr legacy_user_management trace auth_debug udf_compat chacha profiler
623623
UDR_PLUGIN = $(call makePluginName,udr_engine)
624624
LEGACY_USER_MANAGER = $(call makePluginName,Legacy_UserManager)
625-
LEGACY_AUTH_SERVER = $(call makePluginName,Legacy_Auth)
626625
SRP_USER_MANAGER = $(call makePluginName,Srp)
627626
FBTRACE = $(call makePluginName,fbtrace)
628627
AUTH_DEBUGGER = $(call makePluginName,Auth_Debug)
@@ -636,7 +635,7 @@ ifeq ($(TARGET),Debug)
636635
BUILD_DEBUG:=auth_debug
637636
endif
638637

639-
plugins: udr legacy_user_management legacy_auth_server srp_user_management trace $(BUILD_DEBUG) udf_compat chacha profiler
638+
plugins: udr legacy_user_management srp_user_management trace $(BUILD_DEBUG) udf_compat chacha profiler
640639

641640
udr: $(UDR_PLUGIN) $(PLUGINS)/udr_engine.conf
642641

@@ -659,12 +658,6 @@ $(CHACHA): $(Chacha_Objects) $(COMMON_LIB)
659658
$(LINK_PLUGIN) $(call LIB_LINK_SONAME,$(notdir $@).0) -o $@ $^ $(LINK_PLUG_LIBS) $(FIREBIRD_LIBRARY_LINK)\
660659
$(call LIB_LINK_DARWIN_INSTALL_NAME,plugins/libChaCha.$(SHRLIB_EXT))
661660

662-
legacy_auth_server: $(LEGACY_AUTH_SERVER)
663-
664-
$(LEGACY_AUTH_SERVER): $(LEGACY_AUTH_SERVER_Objects) $(COMMON_LIB)
665-
$(LINK_PLUGIN) $(call LIB_LINK_SONAME,$(notdir $@).0) -o $@ $^ $(LINK_PLUG_LIBS) $(FIREBIRD_LIBRARY_LINK)\
666-
$(call LIB_LINK_DARWIN_INSTALL_NAME,plugins/libLegacy_Auth.$(SHRLIB_EXT))
667-
668661
profiler: $(PROFILER)
669662

670663
$(PROFILER): $(Profiler_Objects) $(COMMON_LIB)

builds/posix/make.shared.variables

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,6 @@ LEGACY_USERS_MANAGE_Objects:= $(call makeObjects,auth/SecurityDatabase,LegacyMan
190190
AllObjects += $(LEGACY_USERS_MANAGE_Objects)
191191

192192

193-
# Legacy authentication on server
194-
LEGACY_AUTH_SERVER_Objects:= $(call makeObjects,auth/SecurityDatabase,LegacyServer.cpp) $(SecDbCache)
195-
196-
AllObjects += $(LEGACY_AUTH_SERVER_Objects)
197-
198-
199193
# SRP-based users management in security database
200194
SRP_USERS_MANAGE_Objects:= $(call dirObjects,auth/SecureRemotePassword/manage) \
201195
$(call dirObjects,auth/SecureRemotePassword)

builds/win32/msvc15/Firebird.sln

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "legacy_usermanager", "legac
7676
EndProject
7777
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "srp", "srp.vcxproj", "{BD00D28E-6667-414E-A4B1-6BEFC07ADB42}"
7878
EndProject
79-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "legacy_auth", "legacy_auth.vcxproj", "{062BD3C7-2D01-44F6-8D79-070F688C559F}"
80-
EndProject
8179
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "udf_compat", "udf_compat.vcxproj", "{6794EB8C-6425-422D-A3B0-14EED54C0E98}"
8280
EndProject
8381
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "chacha", "chacha.vcxproj", "{F2E1A852-5A4B-4162-9DA8-0363805FCFD0}"
@@ -351,14 +349,6 @@ Global
351349
{BD00D28E-6667-414E-A4B1-6BEFC07ADB42}.Release|Win32.Build.0 = Release|Win32
352350
{BD00D28E-6667-414E-A4B1-6BEFC07ADB42}.Release|x64.ActiveCfg = Release|x64
353351
{BD00D28E-6667-414E-A4B1-6BEFC07ADB42}.Release|x64.Build.0 = Release|x64
354-
{062BD3C7-2D01-44F6-8D79-070F688C559F}.Debug|Win32.ActiveCfg = Debug|Win32
355-
{062BD3C7-2D01-44F6-8D79-070F688C559F}.Debug|Win32.Build.0 = Debug|Win32
356-
{062BD3C7-2D01-44F6-8D79-070F688C559F}.Debug|x64.ActiveCfg = Debug|x64
357-
{062BD3C7-2D01-44F6-8D79-070F688C559F}.Debug|x64.Build.0 = Debug|x64
358-
{062BD3C7-2D01-44F6-8D79-070F688C559F}.Release|Win32.ActiveCfg = Release|Win32
359-
{062BD3C7-2D01-44F6-8D79-070F688C559F}.Release|Win32.Build.0 = Release|Win32
360-
{062BD3C7-2D01-44F6-8D79-070F688C559F}.Release|x64.ActiveCfg = Release|x64
361-
{062BD3C7-2D01-44F6-8D79-070F688C559F}.Release|x64.Build.0 = Release|x64
362352
{6794EB8C-6425-422D-A3B0-14EED54C0E98}.Debug|Win32.ActiveCfg = Debug|Win32
363353
{6794EB8C-6425-422D-A3B0-14EED54C0E98}.Debug|Win32.Build.0 = Debug|Win32
364354
{6794EB8C-6425-422D-A3B0-14EED54C0E98}.Debug|x64.ActiveCfg = Debug|x64
@@ -458,7 +448,6 @@ Global
458448
{4FE03933-98CD-4879-A135-FD9430087A6B} = {5A1544E3-A87E-4F78-B197-528C12A64C7D}
459449
{D836FBF5-071E-4E04-8D63-C7EB6701B296} = {5A1544E3-A87E-4F78-B197-528C12A64C7D}
460450
{BD00D28E-6667-414E-A4B1-6BEFC07ADB42} = {5A1544E3-A87E-4F78-B197-528C12A64C7D}
461-
{062BD3C7-2D01-44F6-8D79-070F688C559F} = {5A1544E3-A87E-4F78-B197-528C12A64C7D}
462451
{6794EB8C-6425-422D-A3B0-14EED54C0E98} = {5A1544E3-A87E-4F78-B197-528C12A64C7D}
463452
{F2E1A852-5A4B-4162-9DA8-0363805FCFD0} = {5A1544E3-A87E-4F78-B197-528C12A64C7D}
464453
{B32D1B09-8161-451E-8D20-D30F26094EC0} = {DA5015E4-8349-4DAB-A1E5-18BDBDDA3022}

builds/win32/msvc15/legacy_auth.vcxproj

Lines changed: 0 additions & 200 deletions
This file was deleted.

builds/win32/msvc15/legacy_auth.vcxproj.filters

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/CMakeLists.txt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -572,17 +572,6 @@ set_output_directory (srp plugins)
572572
set_exported_symbols (srp fbplugin)
573573

574574

575-
########################################
576-
# SHARED LIBRARY legacy_auth
577-
########################################
578-
579-
add_library (legacy_auth SHARED auth/SecurityDatabase/LegacyServer.cpp ${VERSION_RC})
580-
target_link_libraries (legacy_auth common yvalve)
581-
set_target_properties (legacy_auth PROPERTIES OUTPUT_NAME Legacy_Auth)
582-
set_output_directory (legacy_auth plugins)
583-
set_exported_symbols (legacy_auth fbplugin)
584-
585-
586575
################################################################################
587576
#
588577
# EXECUTABLES

0 commit comments

Comments
 (0)