Class Authentication
java.lang.Object
org.camunda.bpm.webapp.impl.security.auth.Authentication
- All Implemented Interfaces:
Serializable
,Principal
- Direct Known Subclasses:
UserAuthentication
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.
- Author:
- Daniel Meyer
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Authentication
protected final String
protected final String
-
Constructor Summary
-
Method Summary
-
Field Details
-
ANONYMOUS
-
identityId
-
processEngineName
-
-
Constructor Details
-
Authentication
-
-
Method Details
-
getName
java.security.Principal implementation: return the id of the identity (userId) behind this authentication -
getIdentityId
- Returns:
- the id of the identity (userId) behind this authentication
-
getProcessEngineName
- Returns:
- return the name of the process engine for which this authentication was established.
-
hashCode
public int hashCode() -
equals
-