public class UserPropertyPrivilegeRepository extends PrivilegeRepositoryBase implements PrivilegeRepositoryWithCliSupport
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIGURATION_PREFIX |
static String |
PRIVILEGES_PROPERTY_IRI |
| Constructor and Description |
|---|
UserPropertyPrivilegeRepository(OntologyRepository ontologyRepository,
Configuration configuration,
UserNotificationRepository userNotificationRepository,
WorkQueueRepository workQueueRepository) |
| 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, hasPrivilegepublic static final String PRIVILEGES_PROPERTY_IRI
public static final String CONFIGURATION_PREFIX
@Inject public UserPropertyPrivilegeRepository(OntologyRepository ontologyRepository, Configuration configuration, UserNotificationRepository userNotificationRepository, WorkQueueRepository workQueueRepository)
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 PrivilegeRepositoryCliService getCliService()
getCliService in interface PrivilegeRepositoryWithCliSupportpublic com.google.common.collect.ImmutableSet<String> getDefaultPrivileges()
Copyright © 2013–2017 V5 Analytics. All rights reserved.