![]() |
XRootD
|
#include "XrdSec/XrdSecInterface.hh"
Go to the source code of this file.
Functions | |
int | XrdSecGetProtection (XrdSecProtect *&protP, XrdSecProtocol &aprot, ServerResponseBody_Protocol &resp, unsigned int resplen) |
XrdSecGetProt_t | XrdSecLoadSecFactory (char *eBuff, int eBlen, const char *seclib=0) |
XrdSecService * | XrdSecLoadSecService (XrdSysError *eDest, const char *cfn, const char *seclib=0, XrdSecGetProt_t *getP=0, XrdSecProtector **proP=0) |
int XrdSecGetProtection | ( | XrdSecProtect *& | protP, |
XrdSecProtocol & | aprot, | ||
ServerResponseBody_Protocol & | resp, | ||
unsigned int | resplen | ||
) |
Obtain an instance of a security protection object based on the kXR_protocol response. This is only used client-side.
protP | Place where the protection object point is placed. |
aprot | Uses the authentication protocol to protect requests. It must be supplied and must be he protocol the client used for authentication. Hence, authentication must occur first. |
resp | Reference to the response body returned by kXR_protocol. |
resplen | Length of the response body. |
Definition at line 206 of file XrdSecLoadSecurity.cc.
References kXR_secNone, kXR_ShortProtRespLen, XrdSecProtector::New4Client(), XrdSecProtection::protRC, ServerResponseReqs_Protocol::seclvl, ServerResponseBody_Protocol::secreq, ServerResponseReqs_Protocol::secvsz, and XrdSecProtection::theProtector.
XrdSecGetProt_t XrdSecLoadSecFactory | ( | char * | eBuff, |
int | eBlen, | ||
const char * | seclib = 0 |
||
) |
This include file defines utility functions that load the security framework plugin specialized for server-side or client-side use. These functions are public and remain ABI stable! Load the Security Protocol Factory (used client-side)
eBuff | Pointer to a buffer tat is to receive any messages. Upon failure it will contain an eror message. Upon success it will contain an informational message that describes the version that was loaded. |
eBlen | The length of the eBuff, it should be at least 1K to avoid message truncation as the message may have a path. |
seclib | Pointer to the shared library path that contains the framework implementation. If a nill pointer is passed, then the default library is used. |
Definition at line 176 of file XrdSecLoadSecurity.cc.
XrdSecService* XrdSecLoadSecService | ( | XrdSysError * | eDest, |
const char * | cfn, | ||
const char * | seclib = 0 , |
||
XrdSecGetProt_t * | getP = 0 , |
||
XrdSecProtector ** | proP = 0 |
||
) |
Definition at line 278 of file XrdSecLoadSecurity.cc.
References eDest, and XrdSecProtection::theProtector.
Referenced by XrdCmsSecurity::Configure().