public class TestSecurityUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
resetTestAuthenticatedUser() |
static void |
setTestAuthenticatedUser(String userId) |
static void |
setTestAuthenticatedUser(String userId,
String tenantId) |
static void |
setTestAuthenticatedUser(String userId,
String tenantId,
String... groupKeys) |
public static void setTestAuthenticatedUser(String userId, String tenantId)
public static void setTestAuthenticatedUser(String userId, String tenantId, String... groupKeys)
public static void setTestAuthenticatedUser(String userId)
public static void resetTestAuthenticatedUser()