[
https://issues.apache.org/jira/browse/IGNITE-18576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Tupitsyn updated IGNITE-18576:
------------------------------------
Summary: Implement basic authentication (was: Implement basic auth)
> Implement basic authentication
> ------------------------------
>
> Key: IGNITE-18576
> URL: https://issues.apache.org/jira/browse/IGNITE-18576
> Project: Ignite
> Issue Type: New Feature
> Components: rest
> Reporter: Ivan Gagarkin
> Assignee: Ivan Gagarkin
> Priority: Major
> Labels: ignite-3
> Time Spent: 6h 20m
> Remaining Estimate: 0h
>
> As a user, I would like to set up REST authentication on the cluster init.
>
> Authentication configuration should be placed in the cluster configuration.
> The configuration should look like this:
> {code:java}
> public class AuthConfigurationSchema {
> public final boolean enabled = false;
> public AuthProviderConfigurationSchema providers;
> } {code}
> {code:java}
> public class AuthProviderConfigurationSchema {
> public static final String TYPE_BASIC = "basic";
> public String type;
> public String name;
> } {code}
> {code:java}
> public class BasicAuthProviderConfigurationSchema extends
> AuthProviderConfigurationSchema { public String login;
> public String password;
> }{code}
> That configuration should be applied by the CMG leader after the cluster
> initialization.
> Also, it should be possible to update the configuration using
> _/configuration/cluster/_ end-point.
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)