![]() |
XRootD
|
#include <XrdNetSecurity.hh>
Public Member Functions | |
XrdNetSecurity () | |
~XrdNetSecurity () | |
void | AddHost (char *hname) |
void | AddNetGroup (char *hname) |
bool | Authorize (const char *hSpec) |
bool | Authorize (XrdNetAddr &addr) |
void | Merge (XrdNetSecurity *srcp) |
void | Trace (XrdSysTrace *et=0) |
Definition at line 43 of file XrdNetSecurity.hh.
|
inline |
Definition at line 59 of file XrdNetSecurity.hh.
|
inline |
Definition at line 61 of file XrdNetSecurity.hh.
void XrdNetSecurity::AddHost | ( | char * | hname | ) |
Definition at line 90 of file XrdNetSecurity.cc.
References DEBUG, and XrdOucNList_Anchor::Insert().
void XrdNetSecurity::AddNetGroup | ( | char * | hname | ) |
Definition at line 113 of file XrdNetSecurity.cc.
References DEBUG, and XrdNetTextList::next.
bool XrdNetSecurity::Authorize | ( | const char * | hSpec | ) |
Definition at line 132 of file XrdNetSecurity.cc.
References XrdNetAddr::Set().
Referenced by XrdInet::Accept().
bool XrdNetSecurity::Authorize | ( | XrdNetAddr & | addr | ) |
Definition at line 147 of file XrdNetSecurity.cc.
References DEBUG, XrdOucHash< T >::Find(), XrdOucNList_Anchor::Find(), XrdNetAddrInfo::fmtAdv6, XrdNetAddrInfo::Format(), XrdSysMutex::Lock(), XrdNetAddrInfo::Name(), XrdNetTextList::next, XrdNetAddrInfo::noPort, XrdNetAddrInfo::old6Map4, XrdNetTextList::text, and XrdSysMutex::UnLock().
void XrdNetSecurity::Merge | ( | XrdNetSecurity * | srcp | ) |
Definition at line 192 of file XrdNetSecurity.cc.
References XrdNetTextList::next, XrdOucNList_Anchor::Pop(), XrdOucNList_Anchor::Replace(), and XrdNetTextList::text.
Referenced by XrdInet::Secure(), and XrdNet::Secure().
|
inline |
Definition at line 57 of file XrdNetSecurity.hh.