6 #ifndef BUILTIN_AUTHN_H
7 #define BUILTIN_AUTHN_H
18 std::string
getImplId(
void)
const throw();
43 void getIdMap(
const std::string& userName,
44 const std::vector<std::string>& groupNames,
46 std::vector<GroupInfo>* groups)
throw (
DmException);
68 #endif // BUILTIN_AUTHN_H
UserInfo newUser(const std::string &uname)
BuiltInAuthn(const std::string &, const std::string &)
void updateUser(const UserInfo &user)
Authn * createAuthn(PluginManager *pm)
Instantiate a implementation of Authn.
Security context. To be created by the Authn.
Definition: authn.h:64
Base exception class.
Definition: exceptions.h:17
void updateGroup(const GroupInfo &group)
CatalogInterface can only be instantiated through this class.
Definition: dmlite.h:42
std::string nobody_
Definition: Authn.h:62
std::string nogroup_
Definition: Authn.h:49
std::string nogroup_
Definition: Authn.h:63
AuthnFactory.
Definition: authn.h:177
Authentication API. Any sort of security check is plugin-specific.
std::vector< GroupInfo > getGroups(void)
Get the group list.
GroupInfo newGroup(const std::string &gname)
void deleteUser(const std::string &userName)
Delete a user.
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.
GroupInfo getGroup(gid_t gid)
std::string getImplId(void) const
String ID of the user DB implementation.
void deleteGroup(const std::string &groupName)
Delete a group.
Security credentials. To be filled by the front-end.
Definition: authn.h:22
std::string nobody_
Definition: Authn.h:48
UserInfo getUser(const std::string &userName)
virtual SecurityContext * createSecurityContext()
void configure(const std::string &key, const std::string &value)