|
| 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. More...
|
| |
| virtual int | Encrypt (const char *, int, XrdSecBuffer **) |
| |
| virtual int | Decrypt (const char *, int, XrdSecBuffer **) |
| |
| virtual int | Sign (const char *, int, XrdSecBuffer **) |
| |
| virtual int | Verify (const char *, int, const char *, int) |
| |
| virtual int | getKey (char *=0, int=0) |
| |
| virtual int | setKey (char *, int) |
| |
| | XrdSecProtocol (const char *pName) |
| | Constructor. More...
|
| |
| XrdSecProtocolunix::XrdSecProtocolunix |
( |
const char * |
hname, |
|
|
const struct sockaddr * |
ipadd |
|
) |
| |
|
inline |
| XrdSecProtocolunix::~XrdSecProtocolunix |
( |
| ) |
|
|
inlineprivate |
| void XrdSecProtocolunix::Delete |
( |
| ) |
|
|
inlinevirtual |
Delete the protocol object. DO NOT use C++ delete() on this object.
Implements XrdSecProtocol.
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.
References XrdOucUtils::GroupName(), and XrdOucUtils::UserName().
| friend class XrdSecProtocolDummy |
|
friend |
| char* XrdSecProtocolunix::credBuff |
|
private |
| struct sockaddr XrdSecProtocolunix::hostaddr |
|
private |
The documentation for this class was generated from the following file: