Go to the documentation of this file.
6 #ifndef BUILTIN_AUTHN_H
7 #define BUILTIN_AUTHN_H
27 const boost::any& value) ;
36 const boost::any& value) ;
44 const std::vector<std::string>& groupNames,
46 std::vector<GroupInfo>* groups) ;
57 void configure(
const std::string& key,
const std::string& value) ;
68 #endif // BUILTIN_AUTHN_H
virtual SecurityContext * createSecurityContext()
GroupInfo newGroup(const std::string &gname)
void deleteUser(const std::string &userName)
Delete a user.
UserInfo getUser(const std::string &key, const boost::any &value)
Security credentials. To be filled by the front-end.
Definition: authn.h:22
void configure(const std::string &key, const std::string &value)
void deleteGroup(const std::string &groupName)
Delete a group.
BuiltInAuthn(const std::string &, const std::string &)
void updateUser(const UserInfo &user)
Security context. To be created by the Authn.
Definition: authn.h:69
std::string getImplId(void) const
String ID of the user DB implementation.
Authentication API. Any sort of security check is plugin-specific.
AuthnFactory.
Definition: authn.h:182
UserInfo getUser(const std::string &userName)
void getIdMap(const std::string &userName, const std::vector< std::string > &groupNames, UserInfo *user, std::vector< GroupInfo > *groups)
std::vector< UserInfo > getUsers(void)
Get the user list.
CatalogInterface can only be instantiated through this class.
Definition: dmlite.h:42
Authn * createAuthn(PluginManager *pm)
Instantiate a implementation of Authn.
std::string nogroup_
Definition: Authn.h:49
GroupInfo getGroup(const std::string &groupName)
GroupInfo getGroup(gid_t gid)
GroupInfo getGroup(const std::string &key, const boost::any &value)
std::string nogroup_
Definition: Authn.h:63
virtual SecurityContext * createSecurityContext(const SecurityCredentials &cred)
std::string nobody_
Definition: Authn.h:62
void updateGroup(const GroupInfo &group)
UserInfo getUser(const std::string &userName, gid_t *group)
Namespace for the dmlite C++ API.
Definition: authn.h:15
UserInfo newUser(const std::string &uname)
std::vector< GroupInfo > getGroups(void)
Get the group list.
std::string nobody_
Definition: Authn.h:48