|
XRootD
|
#include <XrdSecEntityAttr.hh>
Inheritance diagram for XrdSecEntityAttr:
Collaboration diagram for XrdSecEntityAttr:Public Member Functions | |
| XrdSecEntityAttr (XrdSecEntityXtra *xtra) | |
| ~XrdSecEntityAttr () | |
| bool | Add (const std::string &key, const std::string &val, bool replace=false) |
| bool | Add (XrdSecAttr &attr) |
| bool | Get (const std::string &key, std::string &val) |
| XrdSecAttr * | Get (const void *sigkey) |
| std::vector< std::string > | Keys () |
| void | List (XrdSecEntityAttrCB &attrCB) |
Friends | |
| class | XrdSecEntity |
Definition at line 54 of file XrdSecEntityAttr.hh.
|
inline |
Constructor and Destructor.
| xtra | - Pointer to the data for the implementation. |
Definition at line 130 of file XrdSecEntityAttr.hh.
Referenced by XrdSecEntityXtra::XrdSecEntityXtra().
Here is the caller graph for this function:
|
inline |
Definition at line 132 of file XrdSecEntityAttr.hh.
| bool XrdSecEntityAttr::Add | ( | const std::string & | key, |
| const std::string & | val, | ||
| bool | replace = false ) |
Add a key-value attribute to this entity. If one exists it is replaced.
| key | - Reference to the key. |
| val | - Reference to the value. |
| replace | - When true, any existing key-value is replaced. Otherwise, the add is not performed. |
Definition at line 59 of file XrdSecEntityAttr.cc.
| bool XrdSecEntityAttr::Add | ( | XrdSecAttr & | attr | ) |
Add an attribute object to this entity.
| attr | - Reference to the attribute object. |
Definition at line 41 of file XrdSecEntityAttr.cc.
Referenced by Macaroons::Authz::Access(), XrdAccSciTokens::Access(), XrdAccEntity::PutEntity(), and XrdOfs::rename().
Here is the caller graph for this function:| bool XrdSecEntityAttr::Get | ( | const std::string & | key, |
| std::string & | val ) |
Get an attribute key value associated with this entity.
| key | - The reference to the key. |
| val | - The reference to the string object to receive the value. |
Definition at line 102 of file XrdSecEntityAttr.cc.
| XrdSecAttr * XrdSecEntityAttr::Get | ( | const void * | sigkey | ) |
Get an attribute object associated with this entity.
| sigkey | - A unique attribute object signature key. |
Definition at line 85 of file XrdSecEntityAttr.cc.
Referenced by XrdAccAccess::Access(), XrdVomsMapfile::Apply(), XrdAccAccess::Audit(), XrdAccEntity::GetEntity(), and XrdThrottle::File::open().
Here is the caller graph for this function:| std::vector< std::string > XrdSecEntityAttr::Keys | ( | ) |
Get all the keys for associated attribytes.
Definition at line 124 of file XrdSecEntityAttr.cc.
| void XrdSecEntityAttr::List | ( | XrdSecEntityAttrCB & | attrCB | ) |
List key-value pairs via iterative callback on passed ovject.
| attrCB | - Reference to the callback object to receive list entries. |
Definition at line 140 of file XrdSecEntityAttr.cc.
References XrdSecEntityAttrCB::Attr(), XrdSecEntityAttrCB::Delete, and XrdSecEntityAttrCB::Stop.
Here is the call graph for this function:
|
friend |
Definition at line 57 of file XrdSecEntityAttr.hh.
References XrdSecEntity.
Referenced by XrdSecEntity.