org.camunda.bpm.webapp.impl.security.auth
Class AuthenticationService

java.lang.Object
  extended by org.camunda.bpm.webapp.impl.security.auth.AuthenticationService

public class AuthenticationService
extends Object


Field Summary
static String APP_WELCOME
           
static String[] APPS
           
 
Constructor Summary
AuthenticationService()
           
 
Method Summary
 Authentication createAuthenticate(org.camunda.bpm.engine.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(org.camunda.bpm.engine.ProcessEngine engine, String userId)
           
 List<String> getTenantsOfUser(org.camunda.bpm.engine.ProcessEngine engine, String userId)
           
protected  boolean isAuthorizedForApp(org.camunda.bpm.engine.AuthorizationService authorizationService, String username, List<String> groupIds, String application)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPS

public static final String[] APPS

APP_WELCOME

public static final String APP_WELCOME
See Also:
Constant Field Values
Constructor Detail

AuthenticationService

public AuthenticationService()
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(org.camunda.bpm.engine.ProcessEngine processEngine,
                                         String username,
                                         List<String> groupIds,
                                         List<String> tenantIds)

getTenantsOfUser

public List<String> getTenantsOfUser(org.camunda.bpm.engine.ProcessEngine engine,
                                     String userId)

getGroupsOfUser

public List<String> getGroupsOfUser(org.camunda.bpm.engine.ProcessEngine engine,
                                    String userId)

isAuthorizedForApp

protected boolean isAuthorizedForApp(org.camunda.bpm.engine.AuthorizationService authorizationService,
                                     String username,
                                     List<String> groupIds,
                                     String application)


Copyright © 2018 camunda services GmbH. All rights reserved.