Class AuthenticationService
- java.lang.Object
-
- org.camunda.bpm.webapp.impl.security.auth.AuthenticationService
-
public class AuthenticationService extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
APP_WELCOME
static String[]
APPS
-
Constructor Summary
Constructors Constructor Description AuthenticationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Authentication
createAuthenticate(String engineName, String username)
Authentication
createAuthenticate(String engineName, String username, List<String> groupIds, List<String> tenantIds)
Authentication
createAuthenticate(ProcessEngine processEngine, 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)
-
-
-
Field Detail
-
APPS
public static final String[] APPS
-
APP_WELCOME
public static final String APP_WELCOME
- See Also:
- Constant Field Values
-
-
Method Detail
-
createAuthenticate
public Authentication createAuthenticate(String engineName, String username)
-
createAuthenticate
public Authentication createAuthenticate(String engineName, String username, List<String> groupIds, List<String> tenantIds)
-
createAuthenticate
public Authentication createAuthenticate(ProcessEngine processEngine, String username, List<String> groupIds, List<String> tenantIds)
-
getTenantsOfUser
public List<String> getTenantsOfUser(ProcessEngine engine, String userId)
-
getGroupsOfUser
public List<String> getGroupsOfUser(ProcessEngine engine, String userId)
-
isAuthorizedForApp
protected boolean isAuthorizedForApp(AuthorizationService authorizationService, String username, List<String> groupIds, String application)
-
-