Uses of Interface
com.atlassian.bitbucket.user.EscalatedSecurityContext
Packages that use EscalatedSecurityContext
-
Uses of EscalatedSecurityContext in com.atlassian.bitbucket.user
Methods in com.atlassian.bitbucket.user that return EscalatedSecurityContextModifier and TypeMethodDescriptionSecurityService.anonymously
(String reason) Creates a custom security context that is not authenticated that can be used to perform operations.Creates a custom security context with no difference to the current security context but allows adding further permissions on the returnedEscalatedSecurityContext
.SecurityService.impersonating
(ApplicationUser user, String reason) Creates a custom security context that is authenticated asuser
that can be used to perform operations.EscalatedSecurityContext.withPermission
(Permission permission) Adds permissions to the set of elevated permissions.EscalatedSecurityContext.withPermission
(Object resource, Permission permission) Adds permissions on a particular resource to the set of elevated permissions.SecurityService.withPermission
(Permission permission, Object resource, String reason) Creates a custom security context with elevated permissions that can be used to perform operations.SecurityService.withPermission
(Permission permission, String reason) Creates a custom security context with elevated permissions that can be used to perform operations.EscalatedSecurityContext.withPermissions
(Set<Permission> permissions) Adds permissions to the set of elevated permissions.SecurityService.withPermissions
(Set<Permission> permissions, String reason) Creates a custom security context with elevated permissions that can be used to perform operations.