Class AccessControlUserConfigUtils


  • public class AccessControlUserConfigUtils
    extends Object
    UserConfigUtils is responsible for two things: 1. Used to acquire user config by parsing znRecord that stored in Zookeeper 2. Used to construct znRecord by packaging user config
    • Method Detail

      • fromZNRecord

        public static UserConfig fromZNRecord​(org.apache.helix.zookeeper.datamodel.ZNRecord znRecord)
      • toZNRecord

        public static org.apache.helix.zookeeper.datamodel.ZNRecord toZNRecord​(UserConfig userConfig)
                                                                        throws com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException