You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Gagarkin (Jira)" <ji...@apache.org> on 2023/02/22 09:12:00 UTC

[jira] [Updated] (IGNITE-18576) Implement basic auth

     [ https://issues.apache.org/jira/browse/IGNITE-18576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Gagarkin updated IGNITE-18576:
-----------------------------------
    Description: 
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.  

 

 

 

  was:See https://docs.google.com/document/d/1LHw-Y2BU3tPFeMiPgFs-W0ZkyBK06zYqFWkJXHL6KuM/edit#


> Implement basic auth
> --------------------
>
>                 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: 5.5h
>  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.  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)