public class Authentication extends Object implements Principal, Serializable
Represents an active authentication of a given identity (usually a user).
In camunda webapps, an authentication exists between some identity (user) and a process engine
Implements java.security.Principal so that this object may be used everywhere where a
Principal
is required.
Modifier and Type | Field and Description |
---|---|
static Authentication |
ANONYMOUS |
protected String |
identityId |
protected String |
processEngineName |
Constructor and Description |
---|
Authentication(String identityId,
String processEngineName) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getIdentityId() |
String |
getName()
java.security.Principal implementation: return the id of the identity
(userId) behind this authentication
|
String |
getProcessEngineName() |
int |
hashCode() |
public static final Authentication ANONYMOUS
protected final String identityId
protected final String processEngineName
public String getName()
public String getIdentityId()
public String getProcessEngineName()
public int hashCode()
Copyright © 2021. All rights reserved.