|
xrootd
|


Public Member Functions | |
| int | Authenticate (XrdSecCredentials *cred, XrdSecParameters **parms, XrdOucErrInfo *einfo=0) |
| XrdSecCredentials * | getCredentials (XrdSecParameters *parm=0, XrdOucErrInfo *einfo=0) |
| XrdSecProtocolunix (const char *hname, const struct sockaddr *ipadd) | |
| void | Delete () |
| Delete the protocol object. DO NOT use C++ delete() on this object. | |
Private Member Functions | |
| ~XrdSecProtocolunix () | |
Private Attributes | |
| struct sockaddr | hostaddr |
| char * | credBuff |
Friends | |
| class | XrdSecProtocolDummy |
| XrdSecProtocolunix::XrdSecProtocolunix | ( | const char * | hname, |
| const struct sockaddr * | ipadd | ||
| ) | [inline] |
References credBuff, XrdSecProtocol::Entity, XrdSecEntity::host, and XrdSecEntity::name.
| XrdSecProtocolunix::~XrdSecProtocolunix | ( | ) | [inline, private] |
References credBuff, XrdSecProtocol::Entity, and XrdSecEntity::host.
| int XrdSecProtocolunix::Authenticate | ( | XrdSecCredentials * | cred, |
| XrdSecParameters ** | parms, | ||
| XrdOucErrInfo * | einfo = 0 |
||
| ) | [virtual] |
Authenticate a client.
| 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. |
Implements XrdSecProtocol.
References XrdSecBuffer::buffer, credBuff, XrdSecProtocol::Entity, XrdSecEntity::grps, XrdSecEntity::name, XrdSecEntity::prot, XrdOucErrInfo::setErrInfo(), and XrdSecBuffer::size.
| void XrdSecProtocolunix::Delete | ( | ) | [inline, virtual] |
Delete the protocol object. DO NOT use C++ delete() on this object.
Implements XrdSecProtocol.
| XrdSecCredentials * XrdSecProtocolunix::getCredentials | ( | XrdSecParameters * | parm = 0, |
| XrdOucErrInfo * | einfo = 0 |
||
| ) | [virtual] |
Generate client credentials to be used in the authentication process.
| 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. |
Implements XrdSecProtocol.
References XrdOucUtils::GroupName(), and XrdOucUtils::UserName().
friend class XrdSecProtocolDummy [friend] |
char* XrdSecProtocolunix::credBuff [private] |
Referenced by Authenticate(), XrdSecProtocolunix(), and ~XrdSecProtocolunix().
struct sockaddr XrdSecProtocolunix::hostaddr [private] |
1.7.6.1