ROOT 6.07/09 Reference Guide |
Definition at line 54 of file XrdProofdManager.h.
Public Member Functions | |
XrdProofdManager (char *parms, XrdProtocol_Config *pi, XrdSysError *edest) | |
Constructor. More... | |
virtual | ~XrdProofdManager () |
Destructor. More... | |
XrdProofdAdmin * | Admin () const |
const char * | AdminPath () const |
const char * | BareLibPath () const |
bool | ChangeOwn () const |
void | CheckLogFileOwnership () |
Make sure that the log file belongs to the original effective user. More... | |
bool | CheckMaster (const char *m) |
Check if master 'm' is allowed to connect to this host. More... | |
int | CheckUser (const char *usr, const char *grp, XrdProofUI &ui, XrdOucString &e, bool &su) |
Check if the user is allowed to use the system Return 0 if OK, -1 if not. More... | |
XrdProofdClientMgr * | ClientMgr () const |
int | Config (bool rcf=0) |
Run configuration and parse the entered config directives. More... | |
int | CronFrequency () |
const char * | DataDir () const |
const char * | DataDirOpts () const |
const char * | DataDirUrlOpts () const |
const char * | DataSetExp () const |
std::list< XrdProofdDSInfo * > * | DataSetSrcs () |
int | DoDirective (XrdProofdDirective *d, char *val, XrdOucStream *cfg, bool rcf) |
Update the priorities of the active sessions. More... | |
const char * | EffectiveUser () const |
int | GetWorkers (XrdOucString &workers, XrdProofdProofServ *, const char *) |
Get a list of workers from the available resource broker. More... | |
XrdProofGroupMgr * | GroupsMgr () const |
const char * | Host () const |
const char * | Image () const |
bool | IsRootdAllowed (const char *host) |
Check if 'host' is allowed to access files via rootd. More... | |
bool | IsSuperMst () const |
const char * | LocalROOT () const |
bool | MultiUser () const |
XrdSysRecMutex * | Mutex () |
const char * | NameSpace () const |
XrdProofdNetMgr * | NetMgr () const |
const char * | PoolURL () const |
int | Port () const |
XrdProofdPriorityMgr * | PriorityMgr () const |
int | Process (XrdProofdProtocol *p) |
Process manager request. More... | |
XrdProofSched * | ProofSched () const |
void | RegisterDirectives () |
Register directives for configuration. More... | |
bool | RemotePLite () const |
int | ResolveKeywords (XrdOucString &s, XrdProofdClient *pcl) |
Resolve special keywords in 's' for client 'pcl'. More... | |
const char ** | RootdArgs () const |
const char * | RootdExe () const |
bool | RootdFork () const |
rpdunixsrv * | RootdUnixSrv () const |
XrdROOTMgr * | ROOTMgr () const |
XrdScheduler * | Sched () const |
XrdProofdProofServMgr * | SessionMgr () const |
const char * | SockPathDir () const |
int | SrvType () const |
const char * | StageReqRepo () const |
const char * | TMPdir () const |
const char * | WorkDir () const |
XrdProtocol * | Xrootd () const |
Public Member Functions inherited from XrdProofdConfig | |
XrdProofdConfig (const char *cfg=0, XrdSysError *edest=0) | |
Main constructor. More... | |
virtual | ~XrdProofdConfig () |
const char * | CfgFile () const |
void | SetCfgEDest (const char *cfg, XrdSysError *edest) |
Set config file and error handler. More... | |
Private Member Functions | |
int | DoDirectiveAllow (char *, XrdOucStream *, bool) |
Process 'allow' directive. More... | |
int | DoDirectiveAllowedGroups (char *, XrdOucStream *, bool) |
Process 'allowedgroups' directive. More... | |
int | DoDirectiveAllowedUsers (char *, XrdOucStream *, bool) |
Process 'allowedusers' directive. More... | |
int | DoDirectiveDataDir (char *, XrdOucStream *, bool) |
Process 'datadir' directive. More... | |
int | DoDirectiveDataSetReqRepo (char *, XrdOucStream *, bool) |
int | DoDirectiveDataSetSrc (char *, XrdOucStream *, bool) |
Process 'datasetsrc' directive. More... | |
int | DoDirectiveFilterLibPaths (char *, XrdOucStream *, bool) |
Process 'filterlibpaths' directive xpd.filterlibpaths 1|0 [path1,path2 path3 path4 ...]. More... | |
int | DoDirectiveGroupfile (char *, XrdOucStream *, bool) |
Process 'groupfile' directive. More... | |
int | DoDirectiveMaxOldLogs (char *, XrdOucStream *, bool) |
Process 'maxoldlogs' directive. More... | |
int | DoDirectiveMultiUser (char *, XrdOucStream *, bool) |
Process 'multiuser' directive. More... | |
int | DoDirectivePort (char *, XrdOucStream *, bool) |
Process 'xrd.protocol' directive to find the port. More... | |
int | DoDirectiveRole (char *, XrdOucStream *, bool) |
Process 'role' directive. More... | |
int | DoDirectiveRootd (char *, XrdOucStream *, bool) |
Process 'rootd' directive xpd.rootd deny|allow [rootsys:<tag>] [path:abs-path/] [mode:ro|rw] [auth:none|full] [other_rootd_args]. More... | |
int | DoDirectiveRootdAllow (char *, XrdOucStream *, bool) |
Process 'rootdallow' directive xpd.rootdallow host1,host2 host3 Host names may contain the wild card '*'. More... | |
int | DoDirectiveTrace (char *, XrdOucStream *, bool) |
Scan the config file for tracing settings. More... | |
int | DoDirectiveXrootd (char *, XrdOucStream *, bool) |
Process 'xrootd' directive xpd.xrootd [path/]libXrdXrootd.so. More... | |
XrdProofSched * | LoadScheduler () |
Load PROOF scheduler. More... | |
XrdProtocol * | LoadXrootd (char *parms, XrdProtocol_Config *pi, XrdSysError *edest) |
Load the Xrootd protocol, if required. More... | |
bool | ValidateLocalDataSetSrc (XrdOucString &url, bool &local) |
Validate local dataset src at URL (check the URL and make the relevant directories). More... | |
Additional Inherited Members | |
Protected Member Functions inherited from XrdProofdConfig | |
int | ParseFile (bool rcf=false) |
Parse config file for the registered directives. More... | |
bool | ReadFile (bool update=true) |
Return true if the file has never been read or did change since last reading, false otherwise. More... | |
void | Register (const char *dname, XrdProofdDirective *d) |
Protected Attributes inherited from XrdProofdConfig | |
XrdSysError * | fEDest |
#include <XrdProofdManager.h>
XrdProofdManager::XrdProofdManager | ( | char * | parms, |
XrdProtocol_Config * | pi, | ||
XrdSysError * | edest | ||
) |
Constructor.
Definition at line 222 of file XrdProofdManager.cxx.
|
virtual |
Destructor.
Definition at line 322 of file XrdProofdManager.cxx.
|
inline |
Definition at line 114 of file XrdProofdManager.h.
|
inline |
Definition at line 72 of file XrdProofdManager.h.
|
inline |
Definition at line 73 of file XrdProofdManager.h.
|
inline |
Definition at line 74 of file XrdProofdManager.h.
void XrdProofdManager::CheckLogFileOwnership | ( | ) |
Make sure that the log file belongs to the original effective user.
Definition at line 373 of file XrdProofdManager.cxx.
bool XrdProofdManager::CheckMaster | ( | const char * | m | ) |
Check if master 'm' is allowed to connect to this host.
Definition at line 409 of file XrdProofdManager.cxx.
int XrdProofdManager::CheckUser | ( | const char * | usr, |
const char * | grp, | ||
XrdProofUI & | ui, | ||
XrdOucString & | e, | ||
bool & | su | ||
) |
Check if the user is allowed to use the system Return 0 if OK, -1 if not.
Definition at line 433 of file XrdProofdManager.cxx.
|
inline |
Definition at line 108 of file XrdProofdManager.h.
|
virtual |
Run configuration and parse the entered config directives.
Return 0 on success, -1 on error
Reimplemented from XrdProofdConfig.
Definition at line 870 of file XrdProofdManager.cxx.
|
inline |
Definition at line 78 of file XrdProofdManager.h.
|
inline |
Definition at line 91 of file XrdProofdManager.h.
|
inline |
Definition at line 92 of file XrdProofdManager.h.
|
inline |
Definition at line 93 of file XrdProofdManager.h.
|
inline |
Definition at line 94 of file XrdProofdManager.h.
|
inline |
Definition at line 105 of file XrdProofdManager.h.
|
virtual |
Update the priorities of the active sessions.
Reimplemented from XrdProofdConfig.
Definition at line 1536 of file XrdProofdManager.cxx.
|
private |
Process 'allow' directive.
Definition at line 1731 of file XrdProofdManager.cxx.
|
private |
Process 'allowedgroups' directive.
Definition at line 1750 of file XrdProofdManager.cxx.
|
private |
Process 'allowedusers' directive.
Definition at line 1792 of file XrdProofdManager.cxx.
|
private |
Process 'datadir' directive.
Definition at line 1960 of file XrdProofdManager.cxx.
|
private |
|
private |
Process 'datasetsrc' directive.
Definition at line 1906 of file XrdProofdManager.cxx.
|
private |
Process 'filterlibpaths' directive xpd.filterlibpaths 1|0 [path1,path2 path3 path4 ...].
Definition at line 2119 of file XrdProofdManager.cxx.
|
private |
Process 'groupfile' directive.
Definition at line 1683 of file XrdProofdManager.cxx.
|
private |
Process 'maxoldlogs' directive.
Definition at line 1711 of file XrdProofdManager.cxx.
|
private |
Process 'multiuser' directive.
Definition at line 1882 of file XrdProofdManager.cxx.
|
private |
Process 'xrd.protocol' directive to find the port.
Definition at line 1861 of file XrdProofdManager.cxx.
|
private |
Process 'role' directive.
Definition at line 1829 of file XrdProofdManager.cxx.
|
private |
Process 'rootd' directive xpd.rootd deny|allow [rootsys:<tag>] [path:abs-path/] [mode:ro|rw] [auth:none|full] [other_rootd_args].
Definition at line 2016 of file XrdProofdManager.cxx.
|
private |
Process 'rootdallow' directive xpd.rootdallow host1,host2 host3 Host names may contain the wild card '*'.
Definition at line 2088 of file XrdProofdManager.cxx.
|
private |
Scan the config file for tracing settings.
Definition at line 1585 of file XrdProofdManager.cxx.
|
private |
Process 'xrootd' directive xpd.xrootd [path/]libXrdXrootd.so.
Definition at line 1991 of file XrdProofdManager.cxx.
|
inline |
Definition at line 109 of file XrdProofdManager.h.
int XrdProofdManager::GetWorkers | ( | XrdOucString & | workers, |
XrdProofdProofServ * | xps, | ||
const char * | query | ||
) |
Get a list of workers from the available resource broker.
Definition at line 697 of file XrdProofdManager.cxx.
|
inline |
Definition at line 110 of file XrdProofdManager.h.
|
inline |
Definition at line 79 of file XrdProofdManager.h.
|
inline |
Definition at line 80 of file XrdProofdManager.h.
bool XrdProofdManager::IsRootdAllowed | ( | const char * | host | ) |
Check if 'host' is allowed to access files via rootd.
Definition at line 2157 of file XrdProofdManager.cxx.
|
inline |
Definition at line 81 of file XrdProofdManager.h.
|
private |
Load PROOF scheduler.
Definition at line 610 of file XrdProofdManager.cxx.
|
private |
Load the Xrootd protocol, if required.
Definition at line 338 of file XrdProofdManager.cxx.
|
inline |
Definition at line 82 of file XrdProofdManager.h.
|
inline |
Definition at line 83 of file XrdProofdManager.h.
|
inline |
Definition at line 60 of file XrdProofdManager.h.
|
inline |
Definition at line 84 of file XrdProofdManager.h.
|
inline |
Definition at line 113 of file XrdProofdManager.h.
|
inline |
Definition at line 85 of file XrdProofdManager.h.
|
inline |
Definition at line 86 of file XrdProofdManager.h.
|
inline |
Definition at line 116 of file XrdProofdManager.h.
int XrdProofdManager::Process | ( | XrdProofdProtocol * | p | ) |
Process manager request.
Definition at line 2183 of file XrdProofdManager.cxx.
|
inline |
Definition at line 111 of file XrdProofdManager.h.
|
virtual |
Register directives for configuration.
Reimplemented from XrdProofdConfig.
Definition at line 1411 of file XrdProofdManager.cxx.
|
inline |
Definition at line 103 of file XrdProofdManager.h.
int XrdProofdManager::ResolveKeywords | ( | XrdOucString & | s, |
XrdProofdClient * | pcl | ||
) |
Resolve special keywords in 's' for client 'pcl'.
Recognized keywords <workdir> root for working dirs <host> local host name <port> daemon port <homedir> user home dir <user> user name <group> user group <uid> user ID <gid> user group ID <effuser> effective user name (for multiuser or user mapping modes) Return the number of keywords resolved.
Definition at line 1456 of file XrdProofdManager.cxx.
|
inline |
Definition at line 98 of file XrdProofdManager.h.
|
inline |
Definition at line 97 of file XrdProofdManager.h.
|
inline |
Definition at line 101 of file XrdProofdManager.h.
|
inline |
Definition at line 100 of file XrdProofdManager.h.
|
inline |
Definition at line 115 of file XrdProofdManager.h.
|
inline |
Definition at line 117 of file XrdProofdManager.h.
|
inline |
Definition at line 112 of file XrdProofdManager.h.
|
inline |
Definition at line 88 of file XrdProofdManager.h.
|
inline |
Definition at line 87 of file XrdProofdManager.h.
|
inline |
Definition at line 95 of file XrdProofdManager.h.
|
inline |
Definition at line 89 of file XrdProofdManager.h.
|
private |
Validate local dataset src at URL (check the URL and make the relevant directories).
Return 1 if OK, 0 if any problem arises
Definition at line 1319 of file XrdProofdManager.cxx.
|
inline |
Definition at line 90 of file XrdProofdManager.h.
|
inline |
Definition at line 119 of file XrdProofdManager.h.
|
private |
Definition at line 170 of file XrdProofdManager.h.
|
private |
Definition at line 130 of file XrdProofdManager.h.
|
private |
Definition at line 180 of file XrdProofdManager.h.
|
private |
Definition at line 179 of file XrdProofdManager.h.
|
private |
Definition at line 141 of file XrdProofdManager.h.
|
private |
Definition at line 182 of file XrdProofdManager.h.
|
private |
Definition at line 165 of file XrdProofdManager.h.
|
private |
Definition at line 139 of file XrdProofdManager.h.
|
private |
Definition at line 147 of file XrdProofdManager.h.
|
private |
Definition at line 148 of file XrdProofdManager.h.
|
private |
Definition at line 149 of file XrdProofdManager.h.
|
private |
Definition at line 150 of file XrdProofdManager.h.
|
private |
Definition at line 191 of file XrdProofdManager.h.
|
private |
Definition at line 133 of file XrdProofdManager.h.
|
private |
Definition at line 166 of file XrdProofdManager.h.
|
private |
Definition at line 134 of file XrdProofdManager.h.
|
private |
Definition at line 136 of file XrdProofdManager.h.
|
private |
Definition at line 186 of file XrdProofdManager.h.
|
private |
Definition at line 146 of file XrdProofdManager.h.
|
private |
Definition at line 190 of file XrdProofdManager.h.
|
private |
Definition at line 181 of file XrdProofdManager.h.
|
private |
Definition at line 125 of file XrdProofdManager.h.
|
private |
Definition at line 138 of file XrdProofdManager.h.
|
private |
Definition at line 145 of file XrdProofdManager.h.
|
private |
Definition at line 169 of file XrdProofdManager.h.
|
private |
Definition at line 178 of file XrdProofdManager.h.
|
private |
Definition at line 194 of file XrdProofdManager.h.
|
private |
Definition at line 195 of file XrdProofdManager.h.
|
private |
Definition at line 144 of file XrdProofdManager.h.
|
private |
Definition at line 135 of file XrdProofdManager.h.
|
private |
Definition at line 172 of file XrdProofdManager.h.
|
private |
Definition at line 167 of file XrdProofdManager.h.
|
private |
Definition at line 128 of file XrdProofdManager.h.
|
private |
Definition at line 185 of file XrdProofdManager.h.
|
private |
Definition at line 157 of file XrdProofdManager.h.
|
private |
Definition at line 155 of file XrdProofdManager.h.
|
private |
Definition at line 156 of file XrdProofdManager.h.
|
private |
Definition at line 154 of file XrdProofdManager.h.
|
private |
Definition at line 159 of file XrdProofdManager.h.
|
private |
Definition at line 158 of file XrdProofdManager.h.
|
private |
Definition at line 171 of file XrdProofdManager.h.
|
private |
Definition at line 174 of file XrdProofdManager.h.
|
private |
Definition at line 168 of file XrdProofdManager.h.
|
private |
Definition at line 142 of file XrdProofdManager.h.
|
private |
Definition at line 132 of file XrdProofdManager.h.
|
private |
Definition at line 151 of file XrdProofdManager.h.
|
private |
Definition at line 127 of file XrdProofdManager.h.
|
private |
Definition at line 176 of file XrdProofdManager.h.
|
private |
Definition at line 143 of file XrdProofdManager.h.
|
private |
Definition at line 137 of file XrdProofdManager.h.
|
private |
Definition at line 161 of file XrdProofdManager.h.
|
private |
Definition at line 162 of file XrdProofdManager.h.