public class AuthenticationService extends Object
Modifier and Type | Field and Description |
---|---|
static String |
APP_WELCOME |
static String[] |
APPS |
Constructor and Description |
---|
AuthenticationService() |
Modifier and Type | Method and Description |
---|---|
Authentication |
createAuthenticate(ProcessEngine processEngine,
String username,
List<String> groupIds,
List<String> tenantIds) |
Authentication |
createAuthenticate(String engineName,
String username) |
Authentication |
createAuthenticate(String engineName,
String username,
List<String> groupIds,
List<String> tenantIds) |
List<String> |
getGroupsOfUser(ProcessEngine engine,
String userId) |
List<String> |
getTenantsOfUser(ProcessEngine engine,
String userId) |
protected boolean |
isAuthorizedForApp(AuthorizationService authorizationService,
String username,
List<String> groupIds,
String application) |
public static final String[] APPS
public static final String APP_WELCOME
public Authentication createAuthenticate(String engineName, String username)
public Authentication createAuthenticate(String engineName, String username, List<String> groupIds, List<String> tenantIds)
public Authentication createAuthenticate(ProcessEngine processEngine, String username, List<String> groupIds, List<String> tenantIds)
public List<String> getTenantsOfUser(ProcessEngine engine, String userId)
public List<String> getGroupsOfUser(ProcessEngine engine, String userId)
protected boolean isAuthorizedForApp(AuthorizationService authorizationService, String username, List<String> groupIds, String application)
Copyright © 2021. All rights reserved.