public class UserPropertyPrivilegeRepository extends PrivilegeRepositoryBase implements PrivilegeRepositoryWithCliSupport
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIGURATION_PREFIX |
static String |
PRIVILEGES_PROPERTY_NAME |
| Constructor and Description |
|---|
UserPropertyPrivilegeRepository(SchemaRepository schemaRepository,
Configuration configuration,
UserNotificationRepository userNotificationRepository,
WebQueueRepository webQueueRepository,
AuthorizationRepository authorizationRepository) |
| Modifier and Type | Method and Description |
|---|---|
PrivilegeRepositoryCliService |
getCliService() |
com.google.common.collect.ImmutableSet<String> |
getDefaultPrivileges() |
Set<String> |
getPrivileges(User user) |
void |
setPrivileges(User user,
Set<String> privileges,
User authUser) |
void |
updateUser(User user,
AuthorizationContext authorizationContext) |
findPrivilegeByName, getAllPrivileges, getPrivilegesProviders, getUserRepository, hasAllPrivileges, hasPrivilege, setUserRepositoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllPrivileges, hasAllPrivileges, hasPrivilege, hasPrivilegepublic static final String PRIVILEGES_PROPERTY_NAME
public static final String CONFIGURATION_PREFIX
@Inject public UserPropertyPrivilegeRepository(SchemaRepository schemaRepository, Configuration configuration, UserNotificationRepository userNotificationRepository, WebQueueRepository webQueueRepository, AuthorizationRepository authorizationRepository)
public void updateUser(User user, AuthorizationContext authorizationContext)
updateUser in interface PrivilegeRepositoryupdateUser in class PrivilegeRepositoryBasepublic Set<String> getPrivileges(User user)
getPrivileges in interface PrivilegeRepositorygetPrivileges in class PrivilegeRepositoryBasepublic void setPrivileges(User user, Set<String> privileges, User authUser)
setPrivileges in interface PrivilegeRepositorypublic PrivilegeRepositoryCliService getCliService()
getCliService in interface PrivilegeRepositoryWithCliSupportpublic com.google.common.collect.ImmutableSet<String> getDefaultPrivileges()
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.