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) ;
AuthnFactory.
Definition: authn.h:213
Authn * createAuthn(PluginManager *pm)
Instantiate a implementation of Authn.
std::string nogroup_
Definition: Authn.h:63
std::string nobody_
Definition: Authn.h:62
void configure(const std::string &key, const std::string &value)
void deleteGroup(const std::string &groupName)
Delete a group.
UserInfo newUser(const std::string &uname)
GroupInfo getGroup(gid_t gid)
BuiltInAuthn(const std::string &, const std::string &)
virtual SecurityContext * createSecurityContext()
void getIdMap(const std::string &userName, const std::vector< std::string > &groupNames, UserInfo *user, std::vector< GroupInfo > *groups)
GroupInfo getGroup(const std::string &key, const boost::any &value)
std::string nobody_
Definition: Authn.h:48
GroupInfo newGroup(const std::string &gname)
std::string getImplId(void) const
String ID of the user DB implementation.
UserInfo getUser(const std::string &userName)
void updateUser(const UserInfo &user)
std::string nogroup_
Definition: Authn.h:49
UserInfo getUser(const std::string &userName, gid_t *group)
void deleteUser(const std::string &userName)
Delete a user.
std::vector< GroupInfo > getGroups(void)
Get the group list.
std::vector< UserInfo > getUsers(void)
Get the user list.
virtual SecurityContext * createSecurityContext(const SecurityCredentials &cred)
GroupInfo getGroup(const std::string &groupName)
UserInfo getUser(const std::string &key, const boost::any &value)
void updateGroup(const GroupInfo &group)
CatalogInterface can only be instantiated through this class.
Definition: dmlite.h:42
Authentication API. Any sort of security check is plugin-specific.
Namespace for the dmlite C++ API.
Definition: authn.h:16
Security context. To be created by the Authn.
Definition: authn.h:70
Security credentials. To be filled by the front-end.
Definition: authn.h:23