Uses of Record Class
io.camunda.security.auth.CamundaAuthentication
Packages that use CamundaAuthentication
-
Uses of CamundaAuthentication in io.camunda.security.auth
Methods in io.camunda.security.auth that return CamundaAuthenticationModifier and TypeMethodDescriptionstatic CamundaAuthenticationCamundaAuthentication.anonymous()SecurityContext.authentication()Returns the value of theauthenticationrecord component.CamundaAuthentication.Builder.build()CamundaAuthenticationHolder.get()Obtains the currentCamundaAuthentication, or null if not present.default CamundaAuthenticationCamundaAuthenticationProvider.getAnonymousCamundaAuthentication()CamundaAuthenticationProvider.getCamundaAuthentication()Returns the currentCamundaAuthenticationrepresenting the authentication context for a user, client, or anonymous user.static CamundaAuthenticationCamundaAuthentication.none()static CamundaAuthenticationCamundaAuthentication.of(Function<CamundaAuthentication.Builder, CamundaAuthentication.Builder> builderFunction) Methods in io.camunda.security.auth with parameters of type CamundaAuthenticationModifier and TypeMethodDescriptionBrokerRequestAuthorizationConverter.convert(CamundaAuthentication authentication) voidCamundaAuthenticationHolder.set(CamundaAuthentication authentication) Associates a givenCamundaAuthenticationwith the current thread of execution while processing the request.SecurityContext.Builder.withAuthentication(CamundaAuthentication authentication) Constructors in io.camunda.security.auth with parameters of type CamundaAuthenticationModifierConstructorDescriptionSecurityContext(CamundaAuthentication authentication, Authorization<?> authorization) Creates an instance of aSecurityContextrecord class. -
Uses of CamundaAuthentication in io.camunda.security.reader
Methods in io.camunda.security.reader with parameters of type CamundaAuthenticationModifier and TypeMethodDescription<T> ResourceAccessResourceAccessProvider.hasResourceAccess(CamundaAuthentication authentication, Authorization<T> requiredAuthorization, T resource) Returns aResourceAccessallowing or denying access to the given resource.<T> ResourceAccessResourceAccessProvider.hasResourceAccessByResourceId(CamundaAuthentication authentication, Authorization<T> requiredAuthorization, String resourceId) Returns aResourceAccessallowing or denying access to the given resource id.<T> TenantAccessTenantAccessProvider.hasTenantAccess(CamundaAuthentication authentication, T resource) Returns aTenantAccessallowing or denying access to the given resource based on the tenant.TenantAccessProvider.hasTenantAccessByTenantId(CamundaAuthentication authentication, String tenantId) Returns aTenantAccessallowing or denying access to the given tenant id.default booleanResourceAccessController.isAnonymousAuthentication(CamundaAuthentication authentication) Returns true if the givenauthenticationis anonymous<T> ResourceAccessResourceAccessProvider.resolveResourceAccess(CamundaAuthentication authentication, Authorization<T> requiredAuthorization) TenantAccessProvider.resolveTenantAccess(CamundaAuthentication authentication) Resolves the givenauthenticationinto aTenantAccess.