Package io.camunda.security.auth
Interface CamundaAuthenticationProvider
public interface CamundaAuthenticationProvider
Provides the current
CamundaAuthentication representing the authentication context for a
user, client, or anonymous principal.-
Method Summary
Modifier and TypeMethodDescriptiondefault CamundaAuthenticationReturns the currentCamundaAuthenticationrepresenting the authentication context for a user, client, or anonymous user.
-
Method Details
-
getCamundaAuthentication
CamundaAuthentication getCamundaAuthentication()Returns the currentCamundaAuthenticationrepresenting the authentication context for a user, client, or anonymous user.The returned
CamundaAuthenticationmay represent an anonymous user (authenticatedUsernameandauthenticatedClientIdwill be null andclaims will contain an entry of key:Authorization.AUTHORIZED_ANONYMOUS_USER value:true) or a unique principal (eitherauthenticatedUsernameorauthenticatedClientIdwill be set, but never both)- Returns:
- the current
CamundaAuthentication
-
getAnonymousCamundaAuthentication
-