| Modifier and Type | Method and Description |
|---|---|
NotificationDto |
DBNotificationService.saveWithOwnership(NotificationDto notificationDto,
User user) |
| Modifier and Type | Method and Description |
|---|---|
NotificationDto |
NotificationResourceHandler.create(NotificationDto unsavedDto,
Optional<User> user)
Creates a new notification definition and a corresponding scheduler job definition.
|
| Modifier and Type | Method and Description |
|---|---|
EventDefinitionDto |
DBEventDefinitionService.saveWithOwnership(EventDefinitionDto eventDefinitionDto,
User user) |
| Modifier and Type | Method and Description |
|---|---|
EventDefinitionDto |
EventDefinitionHandler.create(EventDefinitionDto unsavedEventDefinition,
Optional<User> user)
Creates a new event definition and a corresponding scheduler job definition and trigger.
|
EventDefinitionDto |
EventDefinitionHandler.createWithoutSchedule(EventDefinitionDto unsavedEventDefinition,
Optional<User> user)
Creates a new event definition without scheduling it.
|
| Modifier and Type | Method and Description |
|---|---|
GRN |
GRNRegistry.ofUser(User user) |
| Modifier and Type | Method and Description |
|---|---|
List<Search> |
SearchDomain.getAllForUser(User user,
Predicate<ViewDTO> viewReadPermission) |
Optional<Search> |
SearchDomain.getForUser(String id,
User user,
Predicate<ViewDTO> viewReadPermission) |
| Modifier and Type | Method and Description |
|---|---|
abstract User |
SearchJobExecutionEvent.user() |
| Modifier and Type | Method and Description |
|---|---|
static SearchJobExecutionEvent |
SearchJobExecutionEvent.create(User user,
SearchJob searchJob,
org.joda.time.DateTime executionStart) |
| Modifier and Type | Method and Description |
|---|---|
ViewDTO |
ViewService.saveWithOwner(ViewDTO viewDTO,
User user) |
| Modifier and Type | Method and Description |
|---|---|
User |
UserContext.getUser() |
| Modifier and Type | Method and Description |
|---|---|
GrantDTO |
DBGrantService.create(GrantDTO grantDTO,
User currentUser) |
GranteeAuthorizer |
GranteeAuthorizer.Factory.create(User grantee) |
GrantDTO |
DBGrantService.update(GrantDTO updatedGrant,
User currentUser) |
| Constructor and Description |
|---|
GranteeAuthorizer(org.apache.shiro.mgt.DefaultSecurityManager securityManager,
GRNRegistry grnRegistry,
User grantee) |
| Modifier and Type | Method and Description |
|---|---|
void |
EntityOwnershipService.registerNewDashboard(String id,
User user) |
void |
EntityOwnershipService.registerNewEventDefinition(String id,
User user) |
void |
EntityOwnershipService.registerNewEventNotification(String id,
User user) |
void |
EntityOwnershipService.registerNewSearch(String id,
User user) |
void |
EntityOwnershipService.registerNewStream(String id,
User user) |
| Modifier and Type | Method and Description |
|---|---|
abstract User |
EntitySharesUpdateEvent.user() |
| Modifier and Type | Method and Description |
|---|---|
static EntitySharesUpdateEvent |
EntitySharesUpdateEvent.create(User user,
GRN entity,
List<EntitySharesUpdateEvent.Share> creates,
List<EntitySharesUpdateEvent.Share> deletes,
List<EntitySharesUpdateEvent.Share> updates) |
abstract EntitySharesUpdateEvent.Builder |
EntitySharesUpdateEvent.Builder.user(User user) |
| Modifier and Type | Method and Description |
|---|---|
Set<User> |
GranteeService.getVisibleUsers(User requestingUser) |
Set<User> |
DefaultGranteeService.getVisibleUsers(User requestingUser) |
| Modifier and Type | Method and Description |
|---|---|
Set<EntityShareResponse.AvailableGrantee> |
GranteeService.getAvailableGrantees(User sharingUser) |
com.google.common.collect.ImmutableSet<EntityShareResponse.AvailableGrantee> |
DefaultGranteeService.getAvailableGrantees(User sharingUser) |
Set<User> |
GranteeService.getVisibleUsers(User requestingUser) |
Set<User> |
DefaultGranteeService.getVisibleUsers(User requestingUser) |
EntityShareResponse |
EntitySharesService.prepareShare(GRN ownedEntity,
EntityShareRequest request,
User sharingUser,
org.apache.shiro.subject.Subject sharingSubject)
Prepares the sharing operation by running some checks and returning available capabilities and grantees
as well as active shares and information about missing dependencies.
|
EntityShareResponse |
EntitySharesService.updateEntityShares(GRN ownedEntity,
EntityShareRequest request,
User sharingUser)
Share / unshare an entity with one or more grantees.
|
| Modifier and Type | Method and Description |
|---|---|
protected NativeEntity<ViewDTO> |
ViewFacade.decode(EntityV1 entityV1,
Map<String,ValueReference> parameters,
Map<EntityDescriptor,Object> nativeEntities,
User user) |
| Modifier and Type | Method and Description |
|---|---|
protected NativeEntity<ViewDTO> |
DashboardV1Facade.decode(EntityV1 entityV1,
Map<String,ValueReference> parameters,
Map<EntityDescriptor,Object> nativeEntities,
User user) |
| Modifier and Type | Method and Description |
|---|---|
User |
UserAuthorizationInfo.getUser() |
User |
UserAccount.getUser() |
| Constructor and Description |
|---|
UserAccount(Collection principals,
Object credentials,
String realmName,
Set<String> roleNames,
Set<org.apache.shiro.authz.Permission> permissions,
User user) |
UserAccount(Collection principals,
Object credentials,
String realmName,
User user) |
UserAccount(Object principal,
Object hashedCredentials,
org.apache.shiro.util.ByteSource credentialsSalt,
String realmName,
User user) |
UserAccount(Object principal,
Object credentials,
String realmName,
Set<String> roleNames,
Set<org.apache.shiro.authz.Permission> permissions,
User user) |
UserAccount(Object principal,
Object credentials,
String realmName,
User user) |
UserAccount(org.apache.shiro.subject.PrincipalCollection principals,
Object hashedCredentials,
org.apache.shiro.util.ByteSource credentialsSalt,
User user) |
UserAccount(org.apache.shiro.subject.PrincipalCollection principals,
Object credentials,
Set<String> roleNames,
Set<org.apache.shiro.authz.Permission> permissions,
User user) |
UserAccount(org.apache.shiro.subject.PrincipalCollection principals,
Object credentials,
Set<String> roles,
User user) |
UserAccount(org.apache.shiro.subject.PrincipalCollection principals,
Object credentials,
User user) |
UserAccount(User user) |
UserAuthorizationInfo(Set<String> roles,
User user) |
UserAuthorizationInfo(User user) |
| Modifier and Type | Method and Description |
|---|---|
protected User |
RestResource.getCurrentUser() |
| Modifier and Type | Method and Description |
|---|---|
User |
UserService.create() |
User |
UserService.getAdminUser()
Deprecated.
If you really need the root user, use
UserService.getRootUser() instead. |
User |
UserService.load(String username) |
User |
UserService.loadById(String id) |
| Modifier and Type | Method and Description |
|---|---|
Optional<User> |
UserService.getRootUser()
Get the root user.
|
List<User> |
UserService.loadAll() |
List<User> |
UserService.loadAllForAuthServiceBackend(String authServiceBackendId) |
Collection<User> |
UserService.loadAllForRole(Role role) |
Optional<User> |
UserService.loadByAuthServiceUidOrUsername(String authServiceUid,
String username)
Tries to find a user for the given authentication service UID or username.
|
List<User> |
UserService.loadByIds(Collection<String> ids) |
| Modifier and Type | Method and Description |
|---|---|
void |
UserManagementService.changePassword(User user,
String newPassword) |
void |
UserManagementService.changePassword(User user,
String oldPassword,
String newPassword) |
String |
UserManagementService.create(User user)
Additional method allows explicit create operation to be carried out
(as opposed to calling .save)
|
List<GRNPermission> |
UserService.getGRNPermissionsForUser(User user) |
List<org.apache.shiro.authz.Permission> |
UserService.getPermissionsForUser(User user) |
Set<String> |
UserService.getRoleNames(User user) |
Set<String> |
UserService.getUserPermissionsFromRoles(User user) |
List<org.apache.shiro.authz.permission.WildcardPermission> |
UserService.getWildcardPermissionsForUser(User user) |
boolean |
UserManagementService.isUserPassword(User user,
String password) |
void |
UserManagementService.setUserStatus(User user,
User.AccountStatus status) |
String |
UserManagementService.update(User user)
Additional method allows explicit update operations to be carried out
(as opposed to calling .save)
|
| Modifier and Type | Method and Description |
|---|---|
String |
StreamServiceImpl.saveWithRulesAndOwnership(Stream stream,
Collection<StreamRule> streamRules,
User user) |
String |
StreamService.saveWithRulesAndOwnership(Stream stream,
Collection<StreamRule> streamRules,
User user) |
| Modifier and Type | Class and Description |
|---|---|
class |
UserImpl |
static class |
UserImpl.LocalAdminUser |
| Modifier and Type | Method and Description |
|---|---|
User |
UserServiceImpl.create() |
User |
UserServiceImpl.getAdminUser()
Deprecated.
|
User |
UserServiceImpl.load(String username) |
User |
UserServiceImpl.loadById(String id) |
| Modifier and Type | Method and Description |
|---|---|
Optional<User> |
UserServiceImpl.getRootUser() |
List<User> |
UserServiceImpl.loadAll() |
List<User> |
UserServiceImpl.loadAllForAuthServiceBackend(String authServiceBackendId) |
Collection<User> |
UserServiceImpl.loadAllForRole(Role role) |
Optional<User> |
UserServiceImpl.loadByAuthServiceUidOrUsername(String authServiceUid,
String username) |
List<User> |
UserServiceImpl.loadByIds(Collection<String> ids) |
| Modifier and Type | Method and Description |
|---|---|
void |
UserManagementServiceImpl.changePassword(User user,
String newPassword) |
void |
UserManagementServiceImpl.changePassword(User user,
String oldPassword,
String newPassword) |
String |
UserManagementServiceImpl.create(User user) |
List<GRNPermission> |
UserServiceImpl.getGRNPermissionsForUser(User user) |
List<org.apache.shiro.authz.Permission> |
UserServiceImpl.getPermissionsForUser(User user) |
Set<String> |
UserServiceImpl.getRoleNames(User user) |
Set<String> |
UserServiceImpl.getUserPermissionsFromRoles(User user) |
List<org.apache.shiro.authz.permission.WildcardPermission> |
UserServiceImpl.getWildcardPermissionsForUser(User user) |
boolean |
UserManagementServiceImpl.isUserPassword(User user,
String password) |
void |
UserManagementServiceImpl.setUserStatus(User user,
User.AccountStatus status) |
String |
UserManagementServiceImpl.update(User user) |
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.