Class UserAuthentication

java.lang.Object
org.camunda.bpm.webapp.impl.security.auth.Authentication
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:
  • Field Details

    • groupIds

      protected List<String> groupIds
    • tenantIds

      protected List<String> tenantIds
    • authorizedApps

      protected Set<String> authorizedApps
    • cacheValidationTime

      protected Date cacheValidationTime
  • Constructor Details

    • UserAuthentication

      public UserAuthentication(String userId, String processEngineName)
  • Method Details

    • 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)
    • getCacheValidationTime

      public Date getCacheValidationTime()
    • setCacheValidationTime

      public void setCacheValidationTime(Date cacheValidationTime)