@API(status=STABLE,
since="6.2")
public final class UserSelection
extends Object
impersonate(String)
together with either the UserSelectionProvider or the ReactiveUserSelectionProvider will lead to runtime
errors.
Similar usage pattern like with the dynamic database selection are possible, for example tying
a UserSelectionProvider into Spring Security and use the current user as a user to impersonate.
| Modifier and Type | Method and Description |
|---|---|
static UserSelection |
connectedUser() |
boolean |
equals(Object o) |
String |
getValue() |
int |
hashCode() |
static UserSelection |
impersonate(String value) |
public static UserSelection connectedUser()
public static UserSelection impersonate(String value)
value - The name of the user to impersonateCopyright © 2019–2022 Neo4j, Neo4j Sweden AB. All rights reserved.