public class DefaultGranteeService extends Object implements GranteeService
| Modifier and Type | Field and Description |
|---|---|
protected ClusterConfigService |
clusterConfigService |
protected GranteeAuthorizer.Factory |
granteeAuthorizerFactory |
protected GRNRegistry |
grnRegistry |
protected UserService |
userService |
| Constructor and Description |
|---|
DefaultGranteeService(UserService userService,
GRNRegistry grnRegistry,
GranteeAuthorizer.Factory granteeAuthorizerFactory,
ClusterConfigService clusterConfigService) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableSet<Grantee> |
getAvailableGrantees(User sharingUser) |
Set<GRN> |
getGranteeAliases(GRN grantee) |
Set<User> |
getVisibleUsers(User requestingUser) |
protected final UserService userService
protected final GRNRegistry grnRegistry
protected final GranteeAuthorizer.Factory granteeAuthorizerFactory
protected final ClusterConfigService clusterConfigService
@Inject public DefaultGranteeService(UserService userService, GRNRegistry grnRegistry, GranteeAuthorizer.Factory granteeAuthorizerFactory, ClusterConfigService clusterConfigService)
public com.google.common.collect.ImmutableSet<Grantee> getAvailableGrantees(User sharingUser)
getAvailableGrantees in interface GranteeServicepublic Set<GRN> getGranteeAliases(GRN grantee)
getGranteeAliases in interface GranteeServicepublic Set<User> getVisibleUsers(User requestingUser)
getVisibleUsers in interface GranteeServiceCopyright © 2012–2021 Graylog, Inc.. All rights reserved.