Class ReadAuthentication

  • All Implemented Interfaces:
    Task<FlowContext>

    public final class ReadAuthentication
    extends Object
    implements Task<FlowContext>
    Reads attributes from /core-service=management/access=authorization. This is implemented in an extra bootstrap function, because the operation might fail in some corner cases (e.g. when the current user is a host scoped role scoped to a secondary host).
    • Method Detail

      • apply

        public elemental2.promise.Promise<FlowContext> apply​(FlowContext context)
        Description copied from interface: Task
        Executes the task.
        Specified by:
        apply in interface Task<FlowContext>
        Parameters:
        context - the context shared between tasks
        Returns:
        a promise containing the shared context