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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<String>
authorizedApps
protected Date
cacheValidationTime
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
Constructors Constructor Description UserAuthentication(String userId, String processEngineName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
getAuthorizedApps()
Date
getCacheValidationTime()
List<String>
getGroupIds()
List<String>
getTenantIds()
boolean
isAuthorizedForApp(String app)
void
setAuthorizedApps(Set<String> authorizedApps)
void
setCacheValidationTime(Date cacheValidationTime)
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
-
-