public final class SecurityUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
assumeUser(com.activiti.domain.idm.User user) |
static void |
clearAssumeUser() |
static boolean |
currentUserHasCapability(String capability) |
static ActivitiAppUser |
getCurrentActivitiAppUser() |
static Long |
getCurrentUserId()
Get the login of the current user.
|
static com.activiti.domain.idm.User |
getCurrentUserObject() |
public static Long getCurrentUserId()
public static com.activiti.domain.idm.User getCurrentUserObject()
User
object associated with the current logged in user.public static ActivitiAppUser getCurrentActivitiAppUser()
public static boolean currentUserHasCapability(String capability)
public static void assumeUser(com.activiti.domain.idm.User user)
public static void clearAssumeUser()
Copyright © 2014–2015 Alfresco. All rights reserved.