Interface CamundaAuthenticationProvider


public interface CamundaAuthenticationProvider
Provides the current CamundaAuthentication representing the authentication context for a user, client, or anonymous principal.
  • Method Details

    • getCamundaAuthentication

      CamundaAuthentication getCamundaAuthentication()
      Returns the current CamundaAuthentication representing the authentication context for a user, client, or anonymous user.

      The returned CamundaAuthentication may represent an anonymous user ( authenticatedUsername and authenticatedClientId will be null and claims will contain an entry of key:Authorization.AUTHORIZED_ANONYMOUS_USER value:true) or a unique principal (either authenticatedUsername or authenticatedClientId will be set, but never both)

      Returns:
      the current CamundaAuthentication
    • getAnonymousCamundaAuthentication

      default CamundaAuthentication getAnonymousCamundaAuthentication()