Uses of Interface
io.fluxzero.sdk.tracking.handling.authentication.User
Packages that use User
Package
Description
-
Uses of User in io.fluxzero.proxy
Methods in io.fluxzero.proxy with parameters of type User -
Uses of User in io.fluxzero.sdk
Methods in io.fluxzero.sdk with parameters of type UserModifier and TypeMethodDescriptionstatic <T> TFluxzero.filterContent(T value, User user) Modify given value before it's passed to the given viewer. -
Uses of User in io.fluxzero.sdk.common
Methods in io.fluxzero.sdk.common with parameters of type UserModifier and TypeMethodDescriptionAttaches a user object to the metadata using the configuredUserProvider. -
Uses of User in io.fluxzero.sdk.common.serialization
Methods in io.fluxzero.sdk.common.serialization with parameters of type UserModifier and TypeMethodDescription<T> TContentFilter.filterContent(T value, User viewer) Filters the given value based on the current viewer (user) context. -
Uses of User in io.fluxzero.sdk.common.serialization.jackson
Methods in io.fluxzero.sdk.common.serialization.jackson with parameters of type User -
Uses of User in io.fluxzero.sdk.scheduling
Methods in io.fluxzero.sdk.scheduling with parameters of type UserModifier and TypeMethodDescriptionReturns a new schedule with aUseradded to the metadata using the configuredUserProvider. -
Uses of User in io.fluxzero.sdk.tracking.handling.authentication
Fields in io.fluxzero.sdk.tracking.handling.authentication with type parameters of type UserModifier and TypeFieldDescriptionstatic final ThreadLocal<User> User.currentThread-local reference to the current user.Methods in io.fluxzero.sdk.tracking.handling.authentication with type parameters of type UserModifier and TypeMethodDescriptionstatic <U extends User>
UUser.getCurrent()Returns the user currently associated with the executing thread.Methods in io.fluxzero.sdk.tracking.handling.authentication that return UserModifier and TypeMethodDescriptionAbstractUserProvider.fromMessage(HasMessage message) Extracts aUserfrom the metadata of a message.DelegatingUserProvider.fromMessage(HasMessage message) NoOpUserProvider.fromMessage(HasMessage message) UserProvider.fromMessage(HasMessage message) Extracts theUserfrom a givenHasMessageinstance.DelegatingUserProvider.getActiveUser()default UserUserProvider.getActiveUser()Returns the currently active user, typically injected by the current context.DelegatingUserProvider.getSystemUser()NoOpUserProvider.getSystemUser()UserProvider.getSystemUser()Returns theUserrepresenting the system (non-human) identity.DelegatingUserProvider.getUserById(Object userId) NoOpUserProvider.getUserById(Object userId) UserProvider.getUserById(Object userId) Retrieves aUserby their unique identifier.Methods in io.fluxzero.sdk.tracking.handling.authentication with parameters of type UserModifier and TypeMethodDescriptionAbstractUserProvider.addToMetadata(Metadata metadata, User user, boolean ifAbsent) Adds aUserto the metadata using the configured key.DelegatingUserProvider.addToMetadata(Metadata metadata, User user, boolean ifAbsent) NoOpUserProvider.addToMetadata(Metadata metadata, User user, boolean ifAbsent) default MetadataUserProvider.addToMetadata(Metadata metadata, User user) Adds user-related metadata to a message, overwriting existing values if present.UserProvider.addToMetadata(Metadata metadata, User user, boolean ifAbsent) Adds user-related metadata to a message.Constructor parameters in io.fluxzero.sdk.tracking.handling.authentication with type arguments of type UserModifierConstructorDescriptionAbstractUserProvider(Class<? extends User> userClass) Constructs anAbstractUserProviderusing the default metadata keyAbstractUserProvider.DEFAULT_USER_KEY. -
Uses of User in io.fluxzero.sdk.tracking.handling.validation
Methods in io.fluxzero.sdk.tracking.handling.validation with parameters of type UserModifier and TypeMethodDescriptionstatic booleanValidationUtils.assertAuthorized(Class<?> payloadType, User user) Verifies whether the given user is authorized to issue the given payload, based on roles declared via annotations on the payload's class or package.static booleanValidationUtils.assertAuthorized(Class<?> target, Executable method, User user) Checks if the given user is authorized to invoke the given method on the given target.protected static booleanValidationUtils.assertAuthorized(String action, User user, ValidationUtils.RequiredRole[] requiredRoles) static booleanValidationUtils.ignoreSilently(Class<?> payloadType, User user) Determines whether a particular operation on a payload type should be ignored without raising an exception.static booleanValidationUtils.ignoreSilently(Class<?> target, Executable method, User user) Determines whether a specific method invocation on a target class by a given user should be ignored without raising an exception, based on the user's authorization. -
Uses of User in io.fluxzero.sdk.web
Methods in io.fluxzero.sdk.web with parameters of type UserModifier and TypeMethodDescription