XrdSecProtector Class Reference
#include <XrdSecProtector.hh>
List of all members.
Public Types |
enum | lrType { isLcl = 0,
isRmt = 1,
isLR = 2
} |
Public Member Functions |
virtual bool | Config (const XrdSecProtectParms &lclParms, const XrdSecProtectParms &rmtParms, XrdSysLogger &logr) |
virtual const char * | LName (XrdSecProtectParms::secLevel level) |
virtual XrdSecProtect * | New4Client (XrdSecProtocol &aprot, const ServerResponseReqs_Protocol &inReqs, unsigned int reqLen) |
virtual XrdSecProtect * | New4Server (XrdSecProtocol &aprot, int plvl) |
virtual int | ProtResp (ServerResponseReqs_Protocol &resp, XrdNetAddrInfo &nai, int pver) |
virtual | ~XrdSecProtector () |
| Destructor.
|
Protected Member Functions |
| XrdSecProtector () |
Private Member Functions |
void | Config (const XrdSecProtectParms &parms, ServerResponseReqs_Protocol &reqs) |
Member Enumeration Documentation
Constructor & Destructor Documentation
virtual XrdSecProtector::~XrdSecProtector |
( |
|
) |
[inline, virtual] |
XrdSecProtector::XrdSecProtector |
( |
|
) |
[inline, protected] |
Member Function Documentation
Configure protect for server-side use (not need for client)
- Parameters:
-
| lclParms | Reference to local client parameters. |
| rmtParms | Reference to remote client parameters. |
| logr | Reference to the message logging object. |
- Returns:
- true upon success and false upon failure.
Convert protection level to its corresponding name.
- Parameters:
-
- Returns:
- Pointer to the name of the level.
Obtain a new instance of a protection object based on protocol response. This is meant to be used client-side.
- Parameters:
-
| aprot | Sets the authentication protocol used and is the protocol used to secure requests. It must be supplied. Security is meaningless unless successful authentication has occured. |
| inReqs | Reference to the security information returned in the kXR_protocol request. |
| reqLen | The actual length of inReqs (is validated). |
- Returns:
- Pointer to a security object upon success and nil if security is not needed.
Obtain a new instance of a security object based on security setting for this object. This is meant to be used severt-side.
- Parameters:
-
| aprot | Sets the authentication protocol used and is the protocol used to secure requests. It must be supplied. |
| plvl | The client's protocol level. |
- Returns:
- Pointer to a security object upon success and nil if security is not needed.
Obtain the proper kXR_protocol response (server-side only)
- Parameters:
-
| resp | Reference to the place where the response is to be placed. |
| nai | Reference to the client's network address. |
| pver | Client's protocol version in host byte order. |
- Returns:
- The length of the protocol response security information.
The documentation for this class was generated from the following file: