Skip to content

Extend AuthenticationStepsOperator for non-blocking resource access #586

Closed
@mp911de

Description

@mp911de

Some authentication mechanisms (Kubernetes, PCF) require file resources to read and post these as part of the login process. Right now, these mechanisms use a cached variant of the resource to avoid blocking File I/O which is unfortunate if the resources rotate. We have already AuthenticationSteps.fromSupplier(…) that accepts a supplier. If the supplier is an instance of CredentialSupplier, we should use DataBufferUtils to read the resource (assuming it's a file resource).

All other resource types could be read by using a scheduler.

See also:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions