Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-18576

Implement basic authentication

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • 3.0.0-beta2
    • rest

    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:

      public class AuthConfigurationSchema {
          public final boolean enabled = false;
          public AuthProviderConfigurationSchema providers;
      } 
      public class AuthProviderConfigurationSchema {    
          public static final String TYPE_BASIC = "basic";
          public String type;    
          public String name;
      } 
      public class BasicAuthProviderConfigurationSchema extends AuthProviderConfigurationSchema {          public String login;    
          public String password;
      }

      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.

       

       

      Attachments

        Issue Links

          Activity

            People

              ivan.gagarkin Ivan Gagarkin
              ivan.gagarkin Ivan Gagarkin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 15h 10m
                  15h 10m