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.
Returns:
0 if the user is allowed some access
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.
See Also:
CapCert
AKMessage, freeAkMessage

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de