XrdOfsSecurity.hh File Reference

#include "XrdAcc/XrdAccAuthorize.hh"
Include dependency graph for XrdOfsSecurity.hh:

Go to the source code of this file.

Defines

#define AUTHORIZE(usr, env, optype, action, pathp, edata)
#define AUTHORIZE2(usr, edata, opt1, act1, path1, env1, opt2, act2, path2, env2)
#define OOIDENTENV(usr, env)

Define Documentation

#define AUTHORIZE ( usr,
env,
optype,
action,
pathp,
edata   ) 
Value:
if (usr && XrdOfsFS->Authorization \
    &&  !XrdOfsFS->Authorization->Access(usr, pathp, optype, env)) \
       {XrdOfsFS->Emsg(epname, edata, EACCES, action, pathp); return SFS_ERROR;}
#define AUTHORIZE2 ( usr,
edata,
opt1,
act1,
path1,
env1,
opt2,
act2,
path2,
env2   ) 
Value:
{AUTHORIZE(usr, env1, opt1, act1, path1, edata); \
        AUTHORIZE(usr, env2, opt2, act2, path2, edata); \
       }
#define OOIDENTENV ( usr,
env   ) 
Value:
if (usr) {if (usr->name) env.Put(SEC_USER, usr->name); \
              if (usr->host) env.Put(SEC_HOST, usr->host);}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 9 Oct 2019 for xrootd by  doxygen 1.6.1