Definition at line 56 of file XrdProofdManager.h.
Public Member Functions | |
XrdProofdManager (char *parms, XrdProtocol_Config *pi, XrdSysError *edest) | |
Constructor. | |
virtual | ~XrdProofdManager () |
Destructor. | |
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. | |
bool | CheckMaster (const char *m) |
Check if master 'm' is allowed to connect to this host. | |
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. | |
XrdProofdClientMgr * | ClientMgr () const |
int | Config (bool rcf=0) |
Run configuration and parse the entered config directives. | |
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. | |
const char * | EffectiveUser () const |
int | GetWorkers (XrdOucString &workers, XrdProofdProofServ *, const char *) |
Get a list of workers from the available resource broker. | |
XrdProofGroupMgr * | GroupsMgr () const |
const char * | Host () const |
const char * | Image () const |
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. | |
XrdProofSched * | ProofSched () const |
void | RegisterDirectives () |
Register directives for configuration. | |
bool | RemotePLite () const |
int | ResolveKeywords (XrdOucString &s, XrdProofdClient *pcl) |
Resolve special keywords in 's' for client 'pcl'. | |
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. | |
virtual | ~XrdProofdConfig () |
const char * | CfgFile () const |
void | SetCfgEDest (const char *cfg, XrdSysError *edest) |
Set config file and error handler. | |
Private Member Functions | |
int | DoDirectiveAllow (char *, XrdOucStream *, bool) |
Process 'allow' directive. | |
int | DoDirectiveAllowedGroups (char *, XrdOucStream *, bool) |
Process 'allowedgroups' directive. | |
int | DoDirectiveAllowedUsers (char *, XrdOucStream *, bool) |
Process 'allowedusers' directive. | |
int | DoDirectiveDataDir (char *, XrdOucStream *, bool) |
Process 'datadir' directive. | |
int | DoDirectiveDataSetReqRepo (char *, XrdOucStream *, bool) |
int | DoDirectiveDataSetSrc (char *, XrdOucStream *, bool) |
Process 'datasetsrc' directive. | |
int | DoDirectiveFilterLibPaths (char *, XrdOucStream *, bool) |
Process 'filterlibpaths' directive xpd.filterlibpaths 1|0 [path1,path2 path3 path4 ...]. | |
int | DoDirectiveGroupfile (char *, XrdOucStream *, bool) |
Process 'groupfile' directive. | |
int | DoDirectiveMaxOldLogs (char *, XrdOucStream *, bool) |
Process 'maxoldlogs' directive. | |
int | DoDirectiveMultiUser (char *, XrdOucStream *, bool) |
Process 'multiuser' directive. | |
int | DoDirectivePort (char *, XrdOucStream *, bool) |
Process 'xrd.protocol' directive to find the port. | |
int | DoDirectiveRole (char *, XrdOucStream *, bool) |
Process 'role' directive. | |
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]. | |
int | DoDirectiveRootdAllow (char *, XrdOucStream *, bool) |
Process 'rootdallow' directive xpd.rootdallow host1,host2 host3 Host names may contain the wild card '*'. | |
int | DoDirectiveTrace (char *, XrdOucStream *, bool) |
Scan the config file for tracing settings. | |
int | DoDirectiveXrootd (char *, XrdOucStream *, bool) |
Process 'xrootd' directive xpd.xrootd [path/]libXrdXrootd.so. | |
XrdProofSched * | LoadScheduler () |
Load PROOF scheduler. | |
XrdProtocol * | LoadXrootd (char *parms, XrdProtocol_Config *pi, XrdSysError *edest) |
Load the Xrootd protocol, if required. | |
bool | ValidateLocalDataSetSrc (XrdOucString &url, bool &local) |
Validate local dataset src at URL (check the URL and make the relevant directories). | |
Additional Inherited Members | |
Protected Member Functions inherited from XrdProofdConfig | |
int | ParseFile (bool rcf=false) |
Parse config file for the registered directives. | |
bool | ReadFile (bool update=true) |
Return true if the file has never been read or did change since last reading, false otherwise. | |
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 301 of file XrdProofdManager.cxx.
|
inline |
Definition at line 110 of file XrdProofdManager.h.
|
inline |
Definition at line 74 of file XrdProofdManager.h.
|
inline |
Definition at line 75 of file XrdProofdManager.h.
|
inline |
Definition at line 76 of file XrdProofdManager.h.
void XrdProofdManager::CheckLogFileOwnership | ( | ) |
Make sure that the log file belongs to the original effective user.
Definition at line 352 of file XrdProofdManager.cxx.
bool XrdProofdManager::CheckMaster | ( | const char * | m | ) |
Check if master 'm' is allowed to connect to this host.
Definition at line 388 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 412 of file XrdProofdManager.cxx.
|
inline |
Definition at line 104 of file XrdProofdManager.h.
Run configuration and parse the entered config directives.
Return 0 on success, -1 on error
Reimplemented from XrdProofdConfig.
Definition at line 849 of file XrdProofdManager.cxx.
|
inline |
Definition at line 80 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 95 of file XrdProofdManager.h.
|
inline |
Definition at line 96 of file XrdProofdManager.h.
|
inline |
Definition at line 101 of file XrdProofdManager.h.
|
virtual |
Update the priorities of the active sessions.
Reimplemented from XrdProofdConfig.
Definition at line 1460 of file XrdProofdManager.cxx.
Process 'allow' directive.
Definition at line 1655 of file XrdProofdManager.cxx.
Process 'allowedgroups' directive.
Definition at line 1674 of file XrdProofdManager.cxx.
Process 'allowedusers' directive.
Definition at line 1716 of file XrdProofdManager.cxx.
Process 'datadir' directive.
Definition at line 1884 of file XrdProofdManager.cxx.
Process 'datasetsrc' directive.
Definition at line 1830 of file XrdProofdManager.cxx.
Process 'filterlibpaths' directive xpd.filterlibpaths 1|0 [path1,path2 path3 path4 ...].
Definition at line 1969 of file XrdProofdManager.cxx.
Process 'groupfile' directive.
Definition at line 1607 of file XrdProofdManager.cxx.
Process 'maxoldlogs' directive.
Definition at line 1635 of file XrdProofdManager.cxx.
Process 'multiuser' directive.
Definition at line 1806 of file XrdProofdManager.cxx.
Process 'xrd.protocol' directive to find the port.
Definition at line 1785 of file XrdProofdManager.cxx.
Process 'role' directive.
Definition at line 1753 of file XrdProofdManager.cxx.
Process 'rootd' directive xpd.rootd deny|allow [rootsys:<tag>] [path:abs-path/] [mode:ro|rw] [auth:none|full] [other_rootd_args].
Definition at line 1940 of file XrdProofdManager.cxx.
Process 'rootdallow' directive xpd.rootdallow host1,host2 host3 Host names may contain the wild card '*'.
Definition at line 1955 of file XrdProofdManager.cxx.
Scan the config file for tracing settings.
Definition at line 1509 of file XrdProofdManager.cxx.
Process 'xrootd' directive xpd.xrootd [path/]libXrdXrootd.so.
Definition at line 1915 of file XrdProofdManager.cxx.
|
inline |
Definition at line 105 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 676 of file XrdProofdManager.cxx.
|
inline |
Definition at line 106 of file XrdProofdManager.h.
|
inline |
Definition at line 81 of file XrdProofdManager.h.
|
inline |
Definition at line 82 of file XrdProofdManager.h.
|
inline |
Definition at line 83 of file XrdProofdManager.h.
|
private |
Load PROOF scheduler.
Definition at line 589 of file XrdProofdManager.cxx.
|
private |
Load the Xrootd protocol, if required.
Definition at line 317 of file XrdProofdManager.cxx.
|
inline |
Definition at line 84 of file XrdProofdManager.h.
|
inline |
Definition at line 85 of file XrdProofdManager.h.
|
inline |
Definition at line 62 of file XrdProofdManager.h.
|
inline |
Definition at line 86 of file XrdProofdManager.h.
|
inline |
Definition at line 109 of file XrdProofdManager.h.
|
inline |
Definition at line 87 of file XrdProofdManager.h.
|
inline |
Definition at line 88 of file XrdProofdManager.h.
|
inline |
Definition at line 112 of file XrdProofdManager.h.
int XrdProofdManager::Process | ( | XrdProofdProtocol * | p | ) |
Process manager request.
Definition at line 2007 of file XrdProofdManager.cxx.
|
inline |
Definition at line 107 of file XrdProofdManager.h.
|
virtual |
Register directives for configuration.
Reimplemented from XrdProofdConfig.
Definition at line 1337 of file XrdProofdManager.cxx.
|
inline |
Definition at line 99 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 1380 of file XrdProofdManager.cxx.
|
inline |
Definition at line 111 of file XrdProofdManager.h.
|
inline |
Definition at line 113 of file XrdProofdManager.h.
|
inline |
Definition at line 108 of file XrdProofdManager.h.
|
inline |
Definition at line 90 of file XrdProofdManager.h.
|
inline |
Definition at line 89 of file XrdProofdManager.h.
|
inline |
Definition at line 97 of file XrdProofdManager.h.
|
inline |
Definition at line 91 of file XrdProofdManager.h.
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 1245 of file XrdProofdManager.cxx.
|
inline |
Definition at line 92 of file XrdProofdManager.h.
|
inline |
Definition at line 115 of file XrdProofdManager.h.
|
private |
Definition at line 159 of file XrdProofdManager.h.
|
private |
Definition at line 126 of file XrdProofdManager.h.
|
private |
Definition at line 169 of file XrdProofdManager.h.
|
private |
Definition at line 168 of file XrdProofdManager.h.
|
private |
Definition at line 137 of file XrdProofdManager.h.
|
private |
Definition at line 171 of file XrdProofdManager.h.
|
private |
Definition at line 154 of file XrdProofdManager.h.
|
private |
Definition at line 135 of file XrdProofdManager.h.
|
private |
Definition at line 143 of file XrdProofdManager.h.
|
private |
Definition at line 144 of file XrdProofdManager.h.
|
private |
Definition at line 145 of file XrdProofdManager.h.
|
private |
Definition at line 146 of file XrdProofdManager.h.
|
private |
Definition at line 180 of file XrdProofdManager.h.
|
private |
Definition at line 129 of file XrdProofdManager.h.
|
private |
Definition at line 155 of file XrdProofdManager.h.
|
private |
Definition at line 130 of file XrdProofdManager.h.
|
private |
Definition at line 132 of file XrdProofdManager.h.
|
private |
Definition at line 175 of file XrdProofdManager.h.
|
private |
Definition at line 142 of file XrdProofdManager.h.
|
private |
Definition at line 179 of file XrdProofdManager.h.
|
private |
Definition at line 170 of file XrdProofdManager.h.
|
private |
Definition at line 121 of file XrdProofdManager.h.
|
private |
Definition at line 134 of file XrdProofdManager.h.
|
private |
Definition at line 141 of file XrdProofdManager.h.
|
private |
Definition at line 158 of file XrdProofdManager.h.
|
private |
Definition at line 167 of file XrdProofdManager.h.
|
private |
Definition at line 183 of file XrdProofdManager.h.
|
private |
Definition at line 184 of file XrdProofdManager.h.
|
private |
Definition at line 140 of file XrdProofdManager.h.
|
private |
Definition at line 131 of file XrdProofdManager.h.
|
private |
Definition at line 161 of file XrdProofdManager.h.
|
private |
Definition at line 156 of file XrdProofdManager.h.
|
private |
Definition at line 124 of file XrdProofdManager.h.
|
private |
Definition at line 174 of file XrdProofdManager.h.
|
private |
Definition at line 160 of file XrdProofdManager.h.
|
private |
Definition at line 163 of file XrdProofdManager.h.
|
private |
Definition at line 157 of file XrdProofdManager.h.
|
private |
Definition at line 138 of file XrdProofdManager.h.
|
private |
Definition at line 128 of file XrdProofdManager.h.
|
private |
Definition at line 147 of file XrdProofdManager.h.
|
private |
Definition at line 123 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 133 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 151 of file XrdProofdManager.h.