You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksandr (Jira)" <ji...@apache.org> on 2023/03/03 12:55:00 UTC
[jira] [Commented] (IGNITE-18576) Implement basic authentication
[ https://issues.apache.org/jira/browse/IGNITE-18576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17696151#comment-17696151 ]
Aleksandr commented on IGNITE-18576:
------------------------------------
Good job, thank you!
Merged into main: 2dfb1df678bdf739f39a1ee849f4e9eb03a738ca
> 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: 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)