|
xrootd
|
#include <XrdSecServer.hh>


Public Member Functions | |
| const char * | getParms (int &size, const char *hname=0) |
| XrdSecProtocol * | getProtocol (const char *host, const struct sockaddr &hadr, const XrdSecCredentials *cred, XrdOucErrInfo *einfo=0) |
| int | Configure (const char *cfn) |
| XrdSecServer (XrdSysLogger *lp) | |
| ~XrdSecServer () | |
Private Member Functions | |
| int | add2token (XrdSysError &erp, char *, char **, int &, XrdSecPMask_t &) |
| int | ConfigFile (const char *cfn) |
| int | ConfigXeq (char *var, XrdOucStream &Config, XrdSysError &Eroute) |
| int | ProtBind_Complete (XrdSysError &Eroute) |
| int | xpbind (XrdOucStream &Config, XrdSysError &Eroute) |
| int | xpparm (XrdOucStream &Config, XrdSysError &Eroute) |
| int | xprot (XrdOucStream &Config, XrdSysError &Eroute) |
| int | xtrace (XrdOucStream &Config, XrdSysError &Eroute) |
Private Member Functions inherited from XrdSecService | |
| XrdSecService () | |
| Constructor. More... | |
| virtual | ~XrdSecService () |
| Destructor. More... | |
Private Attributes | |
| XrdSysError | eDest |
| XrdOucTrace * | SecTrace |
| XrdSecProtBind * | bpFirst |
| XrdSecProtBind * | bpLast |
| XrdSecProtBind * | bpDefault |
| char * | SToken |
| char * | STBuff |
| int | STBlen |
| int | Enforce |
| int | implauth |
Static Private Attributes | |
| static XrdSecPManager | PManager |
| XrdSecServer::XrdSecServer | ( | XrdSysLogger * | lp | ) |
References bpDefault, bpFirst, bpLast, eDest, Enforce, implauth, PManager, SecTrace, XrdSecPManager::setDebug(), XrdSecPManager::setErrP(), STBlen, STBuff, SToken, TRACE_ALL, and XrdOucTrace::What.
|
inline |
|
private |
References XrdSysError::Emsg(), XrdSecPManager::Find(), and PManager.
|
private |
References XrdOucStream::Attach(), XrdOucStream::Close(), XrdCopy::Config, ConfigXeq(), XrdOucStream::Echo(), eDest, XrdSysError::Emsg(), XrdOucStream::GetMyFirstWord(), XrdOucStream::LastError(), XrdSecProtParm::Next, open(), ProtBind_Complete(), XrdSecProtParm::ProtoID, XrdSysError::Say(), and XrdOucStream::Tabs().
Referenced by Configure().
| int XrdSecServer::Configure | ( | const char * | cfn | ) |
References ConfigFile(), eDest, and XrdSysError::Say().
Referenced by XrdSecgetService().
|
private |
References XrdOucStream::Echo(), XrdSysError::Say(), TS_Xeq, xpbind(), xpparm(), xprot(), and xtrace().
Referenced by ConfigFile().
|
virtual |
Obtain security parameters to be sent to the client upon initial contact.
| size | Where the length of the return parameters are to be placed. |
| hname | The client's host name which may be an IP address. It may also be a null pointer if the client's host is immaterial. |
Implements XrdSecService.
References bpDefault, bpFirst, XrdSecBuffer::buffer, DEBUG, EPNAME, XrdSecProtBind::Match(), XrdSecProtBind::next, XrdSecProtBind::SecToken, and XrdSecBuffer::size.
|
virtual |
Obtain a protocol object suitable for authentication based on cred and possibly based on the hostname or host address, as needed.
| host | The client's host name which may be an IP address. |
| hadr | The client host address encoded in sockaddr. |
| cred | The initial credentials supplied by the client, the pointer may be null if the client did not supply credentials. |
| einfo | The structure to record any error messages. These are normally sent to the client. If einfo is a null pointer, the messages should be sent to standard error via an XrdSysError object using the supplied XrdSysLogger when the the plugin was initialized. |
Implements XrdSecService.
References bpFirst, XrdSecBuffer::buffer, Enforce, XrdSecPManager::Find(), XrdSecProtBind::Find(), XrdSecPManager::Get(), PManager, XrdOucErrInfo::setErrInfo(), XrdSecBuffer::size, and XrdSecProtBind::ValidProts.
|
private |
References bpDefault, DEBUG, XrdSysError::Emsg(), EPNAME, XrdOucErrInfo::getErrText(), implauth, XrdSecPManager::Load(), PManager, XrdSysError::Say(), STBlen, STBuff, and SToken.
Referenced by ConfigFile().
|
private |
References add2token(), bpDefault, bpFirst, bpLast, DEBUG, XrdSysError::Emsg(), Enforce, EPNAME, XrdSecPManager::Find(), XrdSysDNS::getHostName(), XrdOucStream::GetWord(), XrdSecProtBind::next, PManager, XrdSysError::Say(), and XrdSecProtBind::thost.
Referenced by ConfigXeq().
|
private |
|
private |
References add2token(), XrdSecProtParm::Cat(), XrdSysError::Emsg(), XrdSecPManager::Find(), XrdSecProtParm::Find(), XrdOucErrInfo::getErrText(), XrdOucStream::GetWord(), implauth, XrdSecProtParm::Insert(), XrdSecPManager::Load(), PManager, XrdSecProtParm::Result(), XrdSysError::Say(), STBlen, STBuff, strlcpy(), and XrdSecPROTOIDSIZE.
Referenced by ConfigXeq().
|
private |
References Debug, XrdSysError::Emsg(), XrdOucStream::GetWord(), PManager, QTRACE, XrdSysError::Say(), SecTrace, XrdSecPManager::setDebug(), TRACE_ALL, TRACE_Authen, TRACE_Authenxx, TRACE_Debug, and XrdOucTrace::What.
Referenced by ConfigXeq().
|
private |
Referenced by getParms(), ProtBind_Complete(), xpbind(), and XrdSecServer().
|
private |
Referenced by getParms(), getProtocol(), xpbind(), and XrdSecServer().
|
private |
Referenced by xpbind(), and XrdSecServer().
|
private |
Referenced by ConfigFile(), Configure(), and XrdSecServer().
|
private |
Referenced by getProtocol(), xpbind(), and XrdSecServer().
|
private |
Referenced by ProtBind_Complete(), xprot(), and XrdSecServer().
|
staticprivate |
Referenced by add2token(), getProtocol(), ProtBind_Complete(), xpbind(), xpparm(), xprot(), XrdSecServer(), and xtrace().
|
private |
Referenced by XrdSecServer(), and xtrace().
|
private |
Referenced by ProtBind_Complete(), xprot(), and XrdSecServer().
|
private |
Referenced by ProtBind_Complete(), xprot(), and XrdSecServer().
|
private |
Referenced by ProtBind_Complete(), and XrdSecServer().
1.8.3.1