public class DefaultGranteeService extends Object implements GranteeService
| Modifier and Type | Field and Description |
|---|---|
protected GranteeAuthorizer.Factory |
granteeAuthorizerFactory |
protected GRNRegistry |
grnRegistry |
protected UserService |
userService |
| Constructor and Description |
|---|
DefaultGranteeService(UserService userService,
GRNRegistry grnRegistry,
GranteeAuthorizer.Factory granteeAuthorizerFactory) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableSet<EntityShareResponse.AvailableGrantee> |
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
@Inject public DefaultGranteeService(UserService userService, GRNRegistry grnRegistry, GranteeAuthorizer.Factory granteeAuthorizerFactory)
public com.google.common.collect.ImmutableSet<EntityShareResponse.AvailableGrantee> 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.