public class SecurityUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
assumeUser(User user) |
static void |
clearAssumeUser() |
static boolean |
currentUserHasCapability(String capability) |
static FlowableAppUser |
getCurrentFlowableAppUser() |
static String |
getCurrentUserId()
Get the login of the current user.
|
static User |
getCurrentUserObject() |
public static String getCurrentUserId()
public static User getCurrentUserObject()
User object associated with the current logged in user.public static FlowableAppUser getCurrentFlowableAppUser()
public static boolean currentUserHasCapability(String capability)
public static void assumeUser(User user)
public static void clearAssumeUser()
Copyright © 2018 Flowable. All rights reserved.