Package | Description |
---|---|
com.atlassian.bitbucket.user |
Modifier and Type | Method and Description |
---|---|
EscalatedSecurityContext |
SecurityService.anonymously(String reason)
Creates a custom security context that is not authenticated that can be used to perform operations.
|
EscalatedSecurityContext |
SecurityService.escalate(String reason)
Creates a custom security context with no difference to the current security context but allows adding further
permissions on the returned
EscalatedSecurityContext . |
EscalatedSecurityContext |
SecurityService.impersonating(ApplicationUser user,
String reason)
Creates a custom security context that is authenticated as
user that can be used to perform operations. |
EscalatedSecurityContext |
EscalatedSecurityContext.withPermission(Object resource,
Permission permission)
Adds permissions on a particular resource to the set of elevated permissions.
|
EscalatedSecurityContext |
EscalatedSecurityContext.withPermission(Permission permission)
Adds permissions to the set of elevated permissions.
|
EscalatedSecurityContext |
SecurityService.withPermission(Permission permission,
Object resource,
String reason)
Creates a custom security context with elevated permissions that can be used to perform operations.
|
EscalatedSecurityContext |
SecurityService.withPermission(Permission permission,
String reason)
Creates a custom security context with elevated permissions that can be used to perform operations.
|
EscalatedSecurityContext |
EscalatedSecurityContext.withPermissions(Set<Permission> permissions)
Adds permissions to the set of elevated permissions.
|
EscalatedSecurityContext |
SecurityService.withPermissions(Set<Permission> permissions,
String reason)
Creates a custom security context with elevated permissions that can be used to perform operations.
|
Copyright © 2022 Atlassian. All rights reserved.