#include <XrdSecsssCon.hh>
Public Member Functions | |
| XrdSecsssCon () | |
| virtual | ~XrdSecsssCon () |
| virtual void | Cleanup (const std::set< std::string > &Contacts, const XrdSecEntity &Entity)=0 |
| bool | Contact (const std::string &lgnid, const std::string &hostID) |
Definition at line 45 of file XrdSecsssCon.hh.
|
inline |
Definition at line 76 of file XrdSecsssCon.hh.
|
inlinevirtual |
Definition at line 77 of file XrdSecsssCon.hh.
|
pure virtual |
Cleanup connections established by the passed entity.
| Contacts | Reference to a set of connections created by the entity. Each entry in the form of 'user[:pswd]@host:port'. |
| Entity | Reference to the entity object responsible for the contacts. |
References Contact().
Referenced by XrdSecsssEnt::Delete().
| bool XrdSecsssCon::Contact | ( | const std::string & | lgnid, |
| const std::string & | hostID ) |
Add a contact for the indicated loginid entity.
| lgnid | - The loginid used to to register an Entity via XrdSecsssID. |
| hostID | - The hostID (i.e. lgnid[:pswd]@host:port). |
Definition at line 44 of file XrdSecsssCon.cc.
References XrdSecsssMap::conTrack, XrdSysMutex::Lock(), XrdSecsssMap::Registry, XrdSecsssMap::sssMutex, and XrdSysMutex::UnLock().
Referenced by Cleanup().