Class AuthenticationResult
java.lang.Object
org.camunda.bpm.engine.rest.security.auth.AuthenticationResult
Serves as DTO to hold the result of an authentication request performed
 through an 
AuthenticationProvider.
 
 Note that when implementing a custom AuthenticationProvider, it is
 not required to set groups or tenants for an AuthenticationResult, as they
 will be resolved later via the IdentityService (e.g.
 ProcessEngineAuthenticationFilter.setAuthenticatedUser(org.camunda.bpm.engine.ProcessEngine, java.lang.String, java.util.List<java.lang.String>, java.util.List<java.lang.String>)).- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanvoidsetAuthenticated(boolean isAuthenticated) voidsetAuthenticatedUser(String authenticatedUser) voidvoidsetTenants(List<String> tenants) static AuthenticationResultsuccessful(String userId) static AuthenticationResultstatic AuthenticationResultunsuccessful(String userId) 
- 
Field Details- 
isAuthenticatedprotected boolean isAuthenticated
- 
authenticatedUser
- 
groups
- 
tenants
 
- 
- 
Constructor Details- 
AuthenticationResult
 
- 
- 
Method Details- 
getAuthenticatedUser
- 
setAuthenticatedUser
- 
isAuthenticatedpublic boolean isAuthenticated()
- 
setAuthenticatedpublic void setAuthenticated(boolean isAuthenticated) 
- 
getGroups
- 
setGroups
- 
getTenants
- 
setTenants
- 
successful
- 
unsuccessful
- 
unsuccessful
 
-