Skip to content

Commit

Permalink
[SciTokens] Add ztn security protocol as a server sentinel.
Browse files Browse the repository at this point in the history
  • Loading branch information
abh3 committed Jan 15, 2021
1 parent 1a6cdc3 commit c5d50a4
Show file tree
Hide file tree
Showing 3 changed files with 876 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Expand Up @@ -23,7 +23,6 @@ include( XrdCrypto )
include( XrdSec )
include( XrdXml )
include( XrdHeaders )
#include( XrdSecztn )

if( BUILD_CRYPTO )
include( XrdSecgsi )
Expand Down Expand Up @@ -75,6 +74,7 @@ if( NOT XRDCL_ONLY )

if( BUILD_SCITOKENS )
include( XrdSciTokens )
include( XrdSecztn )
endif()

endif()
Expand Down
30 changes: 30 additions & 0 deletions src/XrdSecztn.cmake
@@ -0,0 +1,30 @@
#include_directories( ${KERBEROS5_INCLUDE_DIR} )
include( XRootDCommon )

#-------------------------------------------------------------------------------
# The XrdSecztn module
#-------------------------------------------------------------------------------
set( LIB_XRD_SEC_ZTN XrdSecztn-${PLUGIN_VERSION} )

add_library(
${LIB_XRD_SEC_ZTN}
MODULE
XrdSecztn/XrdSecProtocolztn.cc )

target_link_libraries(
${LIB_XRD_SEC_ZTN}
# XrdUtils
)

set_target_properties(
${LIB_XRD_SEC_ZTN}
PROPERTIES
INTERFACE_LINK_LIBRARIES ""
LINK_INTERFACE_LIBRARIES "" )

#-------------------------------------------------------------------------------
# Install
#-------------------------------------------------------------------------------
install(
TARGETS ${LIB_XRD_SEC_ZTN}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} )

0 comments on commit c5d50a4

Please sign in to comment.