xrootd
Loading...
Searching...
No Matches
XrdSciTokensMon.hh
Go to the documentation of this file.
1#ifndef __XrdSciTokensMon_hh__
2#define __XrdSciTokensMon_hh__
3/******************************************************************************/
4/* */
5/* X r d S c o T o k e n s M o n . h h */
6/* */
7/******************************************************************************/
8
9#include <string>
10
12
14{
15public:
16
17bool Mon_isIO(const Access_Operation oper)
18 {return oper == AOP_Read || oper == AOP_Update
19 || oper == AOP_Create || oper == AOP_Excl_Create;
20 }
21
22void Mon_Report(const XrdSecEntity& Entity, const std::string& subject,
23 const std::string& username);
24
27};
28#endif
Access_Operation
The following are supported operations.
Definition XrdAccAuthorize.hh:41
@ AOP_Update
open() r/w or append
Definition XrdAccAuthorize.hh:53
@ AOP_Create
open() with create
Definition XrdAccAuthorize.hh:44
@ AOP_Read
open() r/o, prepare()
Definition XrdAccAuthorize.hh:49
@ AOP_Excl_Create
open() with O_EXCL|O_CREAT
Definition XrdAccAuthorize.hh:54
Definition XrdSciTokensMon.hh:14
bool Mon_isIO(const Access_Operation oper)
Definition XrdSciTokensMon.hh:17
void Mon_Report(const XrdSecEntity &Entity, const std::string &subject, const std::string &username)
~XrdSciTokensMon()
Definition XrdSciTokensMon.hh:26
XrdSciTokensMon()
Definition XrdSciTokensMon.hh:25
Definition XrdSecEntity.hh:65