[ https://issues.apache.org/jira/browse/IGNITE-18576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikhail Pochatkin updated IGNITE-18576: --------------------------------------- Labels: iep-106 ignite-3 (was: ignite-3) > 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: iep-106, ignite-3 > Fix For: 3.0.0-beta2 > > Time Spent: 15h 10m > 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)