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

java.lang.Object
  extended by org.camunda.bpm.webapp.impl.security.auth.Authentication
      extended by org.camunda.bpm.webapp.impl.security.auth.UserAuthentication
All Implemented Interfaces:
Serializable, Principal

public class UserAuthentication
extends Authentication

An authentication for a user

Author:
Daniel Meyer, nico.rehwaldt
See Also:
Serialized Form

Field Summary
protected  Set<String> authorizedApps
           
protected  List<String> groupIds
           
protected  List<String> tenantIds
           
 
Fields inherited from class org.camunda.bpm.webapp.impl.security.auth.Authentication
ANONYMOUS, identityId, processEngineName
 
Constructor Summary
UserAuthentication(String userId, String processEngineName)
           
 
Method Summary
 Set<String> getAuthorizedApps()
           
 List<String> getGroupIds()
           
 List<String> getTenantIds()
           
 boolean isAuthorizedForApp(String app)
           
 void setAuthorizedApps(Set<String> authorizedApps)
           
 void setGroupIds(List<String> groupIds)
           
 void setTenantIds(List<String> tenantIds)
           
 
Methods inherited from class org.camunda.bpm.webapp.impl.security.auth.Authentication
equals, getIdentityId, getName, getProcessEngineName, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
toString
 

Field Detail

groupIds

protected List<String> groupIds

tenantIds

protected List<String> tenantIds

authorizedApps

protected Set<String> authorizedApps
Constructor Detail

UserAuthentication

public UserAuthentication(String userId,
                          String processEngineName)
Method Detail

getGroupIds

public List<String> getGroupIds()

isAuthorizedForApp

public boolean isAuthorizedForApp(String app)

getAuthorizedApps

public Set<String> getAuthorizedApps()

getTenantIds

public List<String> getTenantIds()

setTenantIds

public void setTenantIds(List<String> tenantIds)

setGroupIds

public void setGroupIds(List<String> groupIds)

setAuthorizedApps

public void setAuthorizedApps(Set<String> authorizedApps)


Copyright © 2018 camunda services GmbH. All rights reserved.