public class Authentication extends Object
Allows to expose the id of the currently authenticated user and his groups to the process engine.
The current authentication is managed using a Thread Local. The value can
be set using #setCurrentAuthentication(String, List)
,
retrieved using #getCurrentAuthentication()
and cleared
using #clearCurrentAuthentication()
.
Users typically do not use this class directly but rather use the corresponding Service API methods:
Modifier and Type | Field and Description |
---|---|
protected List<String> |
authenticatedGroupIds |
protected String |
authenticatedUserId |
Constructor and Description |
---|
Authentication() |
Authentication(String authenticatedUserId,
List<String> groupIds) |
protected String authenticatedUserId
Copyright © 2015. All rights reserved.