XrdSecProtocolhost Class Reference

#include <XrdSecProtocolhost.hh>

Inheritance diagram for XrdSecProtocolhost:
Inheritance graph
[legend]
Collaboration diagram for XrdSecProtocolhost:
Collaboration graph
[legend]

List of all members.

Public Member Functions

int Authenticate (XrdSecCredentials *cred, XrdSecParameters **parms, XrdOucErrInfo *einfo=0)
XrdSecCredentialsgetCredentials (XrdSecParameters *parm=0, XrdOucErrInfo *einfo=0)
const char * getParms (int &psize, const char *hname=0)
void Delete ()
 Delete the protocol object. DO NOT use C++ delete() on this object.
 XrdSecProtocolhost (const char *host, XrdNetAddrInfo &endPoint)
 ~XrdSecProtocolhost ()

Private Attributes

XrdNetAddrInfo epAddr
char * theHost

Constructor & Destructor Documentation

XrdSecProtocolhost::XrdSecProtocolhost ( const char *  host,
XrdNetAddrInfo endPoint 
) [inline]

References epAddr, and theHost.

XrdSecProtocolhost::~XrdSecProtocolhost (  )  [inline]

References theHost.


Member Function Documentation

int XrdSecProtocolhost::Authenticate ( XrdSecCredentials cred,
XrdSecParameters **  parms,
XrdOucErrInfo einfo = 0 
) [virtual]

Authenticate a client.

Parameters:
cred Credentials supplied by the client.
parms Place where the address of additional authentication data is to be placed for another autrhentication handshake.
einfo The error information object where error messages should be placed. The messages are returned to the client. Should einfo be null, messages should be written to stderr.
Returns:
> 0 -> parms present (more authentication needed) = 0 -> Entity present (authentication suceeded) < 0 -> einfo present (error has occured)

Implements XrdSecProtocol.

void XrdSecProtocolhost::Delete (  )  [inline, virtual]

Delete the protocol object. DO NOT use C++ delete() on this object.

Implements XrdSecProtocol.

XrdSecCredentials* XrdSecProtocolhost::getCredentials ( XrdSecParameters parm = 0,
XrdOucErrInfo einfo = 0 
) [virtual]

Generate client credentials to be used in the authentication process.

Parameters:
parm Pointer to the information returned by the server either in the initial login response or the authmore response.
einfo The error information object where error messages should be placed. The messages are returned to the client. Should einfo be null, messages should be written to stderr.
Returns:
Success: Pointer to credentials to sent to the server. The caller is responsible for deleting the object. Failure: Null pointer with einfo, if supplied, containing the reason for the failure.

Implements XrdSecProtocol.

const char* XrdSecProtocolhost::getParms ( int &  psize,
const char *  hname = 0 
) [inline]

Member Data Documentation

Referenced by XrdSecProtocolhost().

char* XrdSecProtocolhost::theHost [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 13 May 2020 for xrootd by  doxygen 1.6.1