blob: d4bfa1a52fadc214a626e5c138cde281e3cfceed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
set(auth_srcs
AuthClientHandler.cc
AuthMethodList.cc
AuthRegistry.cc
AuthSessionHandler.cc
Crypto.cc
KeyRing.cc
RotatingKeyRing.cc
cephx/CephxAuthorizeHandler.cc
cephx/CephxClientHandler.cc
cephx/CephxProtocol.cc
cephx/CephxSessionHandler.cc
none/AuthNoneAuthorizeHandler.cc
unknown/AuthUnknownAuthorizeHandler.cc)
if(HAVE_GSSAPI)
list(APPEND auth_srcs
krb/KrbAuthorizeHandler.cpp
krb/KrbClientHandler.cpp
krb/KrbProtocol.cpp
krb/KrbSessionHandler.hpp)
endif()
add_library(common-auth-objs OBJECT ${auth_srcs})
if(WITH_SEASTAR)
add_library(crimson-auth OBJECT ${auth_srcs})
target_compile_definitions(crimson-auth PRIVATE
"WITH_SEASTAR=1")
target_include_directories(crimson-auth PRIVATE
$<TARGET_PROPERTY:Seastar::seastar,INTERFACE_INCLUDE_DIRECTORIES>)
endif()
|