Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

XrdOfsSecurity.hh File Reference

#include "XrdAcc/XrdAccAuthorize.hh"

Include dependency graph for XrdOfsSecurity.hh:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

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);}


Generated on Sun Nov 6 13:40:51 2011 for xrootd by  doxygen 1.3.9.1