Uses of Class
org.graylog.grn.GRN
Packages that use GRN
Package
Description
-
Uses of GRN in org.graylog.grn
Fields in org.graylog.grn declared as GRNMethods in org.graylog.grn that return GRNModifier and TypeMethodDescriptionabstract GRN
GRN.Builder.build()
GRNDeserializer.deserialize
(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) abstract GRN
GRNDescriptor.grn()
Returns theGRN
for the given type and entity.Returns theGRN
for the given type and entity.GRNRegistry.ofEventDefinition
(EventDefinition eventDefinition) Parses the given GRN string and returns aGRN
.Methods in org.graylog.grn with parameters of type GRNModifier and TypeMethodDescriptionstatic GRNDescriptor
static GRNDescriptor
Returns theGRNDescriptor
for the givenGRN
.GRNDescriptorService.getDescriptor
(GRN grn) Returns the descriptor instance for the given GRN.abstract GRNDescriptor.Builder
boolean
Method parameters in org.graylog.grn with type arguments of type GRNModifier and TypeMethodDescriptionGRNDescriptorService.getDescriptors
(Collection<GRN> grns) Returns descriptors for the given GRN collection. -
Uses of GRN in org.graylog.grn.providers
Methods in org.graylog.grn.providers with parameters of type GRNModifier and TypeMethodDescription -
Uses of GRN in org.graylog.plugins.views.favorites
Methods in org.graylog.plugins.views.favorites that return GRNMethods in org.graylog.plugins.views.favorites that return types with arguments of type GRNModifier and TypeMethodDescriptionFavoritesForUserDTO.items()
Returns the value of theitems
record component.Constructors in org.graylog.plugins.views.favorites with parameters of type GRNModifierConstructorDescriptionCreates an instance of aFavorite
record class.Constructor parameters in org.graylog.plugins.views.favorites with type arguments of type GRNModifierConstructorDescriptionFavoritesForUserDTO
(String id, String userId, List<GRN> items) Creates an instance of aFavoritesForUserDTO
record class.FavoritesForUserDTO
(String userId, List<GRN> items) -
Uses of GRN in org.graylog.plugins.views.startpage
Methods in org.graylog.plugins.views.startpage with parameters of type GRNModifier and TypeMethodDescriptionprotected static List<LastOpenedDTO>
StartPageService.filterForExistingIdAndCapAtMaximum
(LastOpenedForUserDTO loi, GRN grn, long max) -
Uses of GRN in org.graylog.plugins.views.startpage.lastOpened
Methods in org.graylog.plugins.views.startpage.lastOpened that return GRNModifier and TypeMethodDescriptionLastOpened.grn()
Returns the value of thegrn
record component.LastOpenedDTO.grn()
Returns the value of thegrn
record component.Constructors in org.graylog.plugins.views.startpage.lastOpened with parameters of type GRNModifierConstructorDescriptionLastOpened
(GRN grn, String title, org.joda.time.DateTime timestamp) Creates an instance of aLastOpened
record class.LastOpenedDTO
(GRN grn, org.joda.time.DateTime timestamp) Creates an instance of aLastOpenedDTO
record class. -
Uses of GRN in org.graylog.plugins.views.startpage.recentActivities
Methods in org.graylog.plugins.views.startpage.recentActivities that return GRNModifier and TypeMethodDescriptionRecentActivityEvent.grn()
Returns the value of thegrn
record component.RecentActivity.itemGrn()
Returns the value of theitemGrn
record component.abstract GRN
RecentActivityDTO.itemGrn()
Methods in org.graylog.plugins.views.startpage.recentActivities with parameters of type GRNModifier and TypeMethodDescriptionvoid
RecentActivityService.deleteAllEntriesForEntity
(GRN grn) abstract RecentActivityDTO.Builder
Constructors in org.graylog.plugins.views.startpage.recentActivities with parameters of type GRNModifierConstructorDescriptionRecentActivity
(String id, ActivityType activityType, GRN itemGrn, String itemTitle, String userName, org.joda.time.DateTime timestamp) Creates an instance of aRecentActivity
record class.RecentActivityEvent
(ActivityType activityType, GRN grn, String userName) RecentActivityEvent
(ActivityType activityType, GRN grn, String itemTitle, String userName) Creates an instance of aRecentActivityEvent
record class. -
Uses of GRN in org.graylog.security
Methods in org.graylog.security that return GRNModifier and TypeMethodDescriptionabstract GRN
GrantDTO.grantee()
abstract @NotNull GRN
GrantDTO.target()
Methods in org.graylog.security that return types with arguments of type GRNModifier and TypeMethodDescriptionDBGrantService.getOwnersForTargets
(Collection<GRN> targets) DBGrantService.getOwnersForTargets
(Collection<GRN> targets) DefaultPermissionAndRoleResolver.resolveGrantees
(GRN principal) PermissionAndRoleResolver.resolveGrantees
(GRN principal) DefaultPermissionAndRoleResolver.resolveTargets
(GRN target) Methods in org.graylog.security with parameters of type GRNModifier and TypeMethodDescriptionDBGrantService.create
(GRN grantee, Capability capability, GRN target, String creatorUsername) int
DBGrantService.deleteForGrantee
(GRN grantee) int
DBGrantService.deleteForTarget
(GRN target) DBGrantService.ensure
(GRN grantee, Capability capability, GRN target, String creatorUsername) Ensure that a grant with the requested or a higher capability exists.com.google.common.collect.ImmutableSet<GrantDTO>
DBGrantService.getForGrantee
(GRN grantee) com.google.common.collect.ImmutableSet<GrantDTO>
DBGrantService.getForGranteeWithCapability
(GRN grantee, Capability capability) DBGrantService.getForTarget
(GRN target) DBGrantService.getForTargetAndGrantee
(GRN target, GRN grantee) DBGrantService.getForTargetAndGrantees
(GRN target, Set<GRN> grantees) DBGrantService.getForTargetExcludingGrantee
(GRN target, GRN grantee) abstract GrantDTO.Builder
boolean
DBGrantService.hasGrantFor
(GRN grantee, Capability capability, GRN target) protected boolean
boolean
GranteeAuthorizer.isPermitted
(String permission, GRN target) boolean
UserContext.isPermitted
(String permission, GRN target) static GrantDTO
GrantDTO.of
(GRN grantee, Capability capability, GRN target) DefaultPermissionAndRoleResolver.resolveGrantees
(GRN principal) PermissionAndRoleResolver.resolveGrantees
(GRN principal) Set<org.apache.shiro.authz.Permission>
DefaultPermissionAndRoleResolver.resolvePermissionsForPrincipal
(GRN principal) Set<org.apache.shiro.authz.Permission>
PermissionAndRoleResolver.resolvePermissionsForPrincipal
(GRN principal) Returns resolved permissions for the given principal.DefaultPermissionAndRoleResolver.resolveRolesForPrincipal
(GRN principal) PermissionAndRoleResolver.resolveRolesForPrincipal
(GRN principal) Returns roles for the given principal.DefaultPermissionAndRoleResolver.resolveTargets
(GRN target) abstract GrantDTO.Builder
Method parameters in org.graylog.security with type arguments of type GRNModifier and TypeMethodDescriptioncom.google.common.collect.ImmutableSet<GrantDTO>
DBGrantService.getForGranteesOrGlobal
(Set<GRN> grantees) com.google.common.collect.ImmutableSet<GrantDTO>
DBGrantService.getForGranteesOrGlobalWithCapability
(Set<GRN> grantees, Capability capability) DBGrantService.getForTargetAndGrantees
(GRN target, Set<GRN> grantees) DBGrantService.getOwnersForTargets
(Collection<GRN> targets) Constructors in org.graylog.security with parameters of type GRNModifierConstructorDescriptionGranteeAuthorizer
(org.apache.shiro.mgt.DefaultSecurityManager securityManager, GRN grantee) -
Uses of GRN in org.graylog.security.entities
Methods in org.graylog.security.entities that return GRNMethods in org.graylog.security.entities that return types with arguments of type GRNModifier and TypeMethodDescriptioncom.google.common.collect.ImmutableMultimap<GRN,
EntityDescriptor> EntityDependencyPermissionChecker.check
(GRN sharingUser, com.google.common.collect.ImmutableSet<EntityDescriptor> dependencies, Set<GRN> selectedGrantees) Runs permission checks for the given dependencies for every selected grantee and returns the entities that grantees cannot access.Methods in org.graylog.security.entities with parameters of type GRNModifier and TypeMethodDescriptioncom.google.common.collect.ImmutableMultimap<GRN,
EntityDescriptor> EntityDependencyPermissionChecker.check
(GRN sharingUser, com.google.common.collect.ImmutableSet<EntityDescriptor> dependencies, Set<GRN> selectedGrantees) Runs permission checks for the given dependencies for every selected grantee and returns the entities that grantees cannot access.static EntityDescriptor
abstract EntityDescriptor.Builder
com.google.common.collect.ImmutableSet<EntityDescriptor>
Method parameters in org.graylog.security.entities with type arguments of type GRNModifier and TypeMethodDescriptioncom.google.common.collect.ImmutableMultimap<GRN,
EntityDescriptor> EntityDependencyPermissionChecker.check
(GRN sharingUser, com.google.common.collect.ImmutableSet<EntityDescriptor> dependencies, Set<GRN> selectedGrantees) Runs permission checks for the given dependencies for every selected grantee and returns the entities that grantees cannot access. -
Uses of GRN in org.graylog.security.events
Methods in org.graylog.security.events that return GRNModifier and TypeMethodDescriptionabstract GRN
EntitySharesUpdateEvent.entity()
abstract GRN
EntitySharesUpdateEvent.Share.grantee()
Methods in org.graylog.security.events with parameters of type GRNModifier and TypeMethodDescriptionEntitySharesUpdateEvent.Builder.addCreates
(GRN grantee, Capability capability) EntitySharesUpdateEvent.Builder.addDeletes
(GRN grantee, Capability capability) EntitySharesUpdateEvent.Builder.addUpdates
(GRN grantee, Capability capability, Capability formerCapability) static EntitySharesUpdateEvent
EntitySharesUpdateEvent.create
(User user, GRN entity, List<EntitySharesUpdateEvent.Share> creates, List<EntitySharesUpdateEvent.Share> deletes, List<EntitySharesUpdateEvent.Share> updates) EntitySharesUpdateEvent.Share.create
(GRN grantee, Capability capability, Capability formerCapability) abstract EntitySharesUpdateEvent.Builder
-
Uses of GRN in org.graylog.security.permissions
Methods in org.graylog.security.permissions that return GRNMethods in org.graylog.security.permissions with parameters of type GRN -
Uses of GRN in org.graylog.security.rest
Methods in org.graylog.security.rest that return GRNModifier and TypeMethodDescriptionabstract GRN
GrantsOverviewResource.GrantSummary.grantee()
abstract GRN
GrantsOverviewResource.GrantSummary.target()
Methods in org.graylog.security.rest with parameters of type GRNModifier and TypeMethodDescriptionprotected void
RestResourceWithOwnerCheck.checkOwnership
(GRN entity) protected boolean
protected boolean
RestResourceWithOwnerCheck.isPermitted
(String type, GRN target) -
Uses of GRN in org.graylog2.lookup
Methods in org.graylog2.lookup with parameters of type GRN