int remoteCheckAccess

(const char* subjectDN,
  const char* subjectCA,
  const char* resource, CapCert* cap,
  AKMessage* status)

Given the DN of a user and the DN of the CA that issued this name and the name of the resource, returns the capability structure which contains the unconditional and conditional rights.

Documentation

Given the DN of a user and the DN of the CA that issued this name and the name of the resource, returns the capability structure which contains the unconditional and conditional rights. This method sends a messaage to an Akenti server. It is callable from C code.

Note: akentiClientInit must be called prior to this call.

Parameters:
subjectDN - a string containing the DN of the user for whom we are checking access
subjectCA - a string containing the DN of the CA who issued the DN for whom we are checking access
resource - name of the resource for which access is checked
status - a returned error structure containing an error code and error string
cap - a returned pointer to the user's capability certificate; this pointer can be queried for unconditional and conditional rights plus contraints.
Returns:
0 if the user is allowed some access
See Also:
CapCert
AKMessage, freeAkMessage

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.