Class Authentication
java.lang.Object
org.eximeebpms.bpm.engine.impl.identity.Authentication
Allows to expose the id of the currently authenticated user, his groups and his tenants to the process engine.
The current authentication is managed using a Thread Local. The value can
be set using
,
retrieved using
invalid reference
#setCurrentAuthentication(String, List)
and cleared
using
invalid reference
#getCurrentAuthentication()
.invalid reference
#clearCurrentAuthentication()
Users typically do not use this class directly but rather use the corresponding Service API methods:
- Author:
- Tom Baeyens, Daniel Meyer
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAuthentication
(String authenticatedUserId, List<String> groupIds) Authentication
(String authenticatedUserId, List<String> authenticatedGroupIds, List<String> authenticatedTenantIds) -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
authenticatedUserId
-
authenticatedGroupIds
-
authenticatedTenantIds
-
-
Constructor Details
-
Authentication
public Authentication() -
Authentication
-
Authentication
-
-
Method Details
-
getGroupIds
-
getUserId
-
getTenantIds
-