xrootd
Loading...
Searching...
No Matches
Public Member Functions | List of all members
XrdSecsssCon Class Referenceabstract

#include <XrdSecsssCon.hh>

Public Member Functions

virtual void Cleanup (const std::set< std::string > &Contacts, const XrdSecEntity &Entity)=0
 
bool Contact (const std::string &lgnid, const std::string &hostID)
 
 XrdSecsssCon ()
 
virtual ~XrdSecsssCon ()
 

Constructor & Destructor Documentation

◆ XrdSecsssCon()

XrdSecsssCon::XrdSecsssCon ( )
inline

◆ ~XrdSecsssCon()

virtual XrdSecsssCon::~XrdSecsssCon ( )
inlinevirtual

Member Function Documentation

◆ Cleanup()

virtual void XrdSecsssCon::Cleanup ( const std::set< std::string > &  Contacts,
const XrdSecEntity Entity 
)
pure virtual

Cleanup connections established by the passed entity.

Parameters
ContactsReference to a set of connections created by the entity. Each entry in the form of 'user[:pswd]@host:port'.
EntityReference to the entity object responsible for the contacts.
Note
1) This object is passed to the XrdSecsssID constructor. 2) It is expected that the callee will disconnect each connection. 3) Upon return the Contacts and Entity objects are deleted.

◆ Contact()

bool XrdSecsssCon::Contact ( const std::string &  lgnid,
const std::string &  hostID 
)

Add a contact for the indicated loginid entity.

Parameters
lgnid- The loginid used to to register an Entity via XrdSecsssID.
hostID- The hostID (i.e. lgnid[:pswd]@host:port).
Returns
true - Contact added.
false - Contact not added as the lgnid is not registered.

The documentation for this class was generated from the following file: