|
dmlite
0.6
|
Security functionality shared between modules. More...
#include <stdint.h>#include <sys/stat.h>#include <string>#include <vector>#include "../authn.h"#include "../exceptions.h"

Go to the source code of this file.
Classes | |
| struct | dmlite::AclEntry |
| ACL Entry. More... | |
| struct | dmlite::Acl |
Namespaces | |
| dmlite | |
| Namespace for the dmlite C++ API. | |
Enumerations | |
| enum | dmlite::TokenResult { dmlite::kTokenOK = 0, dmlite::kTokenMalformed, dmlite::kTokenInvalid, dmlite::kTokenExpired, dmlite::kTokenInvalidMode, dmlite::kTokenInternalError } |
| Possible outputs for validateToken. More... | |
Functions | |
| bool | dmlite::hasGroup (const std::vector< GroupInfo > &groups, gid_t gid) |
| int | dmlite::checkPermissions (const SecurityContext *context, const Acl &acl, const struct ::stat &stat, mode_t mode) |
| std::string | dmlite::voFromDn (const std::string &mapfile, const std::string &dn) |
| std::string | dmlite::voFromRole (const std::string &role) |
| std::string | dmlite::getCertificateSubject (const std::string &path) |
| Get the subject from the certificate. More... | |
| std::string | dmlite::generateToken (const std::string &id, const std::string &pfn, const std::string &passwd, time_t lifetime, bool write=false) |
| TokenResult | dmlite::validateToken (const std::string &token, const std::string &id, const std::string &pfn, const std::string &passwd, bool write=false) |
Security functionality shared between modules.
This is not a plugin!
1.8.15