Class BroadleafSolrProperties.ZooKeeperACLProperties

java.lang.Object
com.broadleafcommerce.search.provider.solr.autoconfigure.BroadleafSolrProperties.ZooKeeperACLProperties
Enclosing class:
BroadleafSolrProperties

public static class BroadleafSolrProperties.ZooKeeperACLProperties extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    boolean
     
    The password to be used with the default ZooKeeper credentials provider, VMParamsSingleSetCredentialsDigestZkCredentialsProvider.
    The username to be used with the default ZooKeeper credentials provider, VMParamsSingleSetCredentialsDigestZkCredentialsProvider.
    int
     
    boolean
    Whether ZooKeeper Access Control List security credentials should be provided to connect to a Solr Cloud instance in ZooKeeper.
    void
    setEnabled(boolean enabled)
    Whether ZooKeeper Access Control List security credentials should be provided to connect to a Solr Cloud instance in ZooKeeper.
    void
    setPassword(String password)
    The password to be used with the default ZooKeeper credentials provider, VMParamsSingleSetCredentialsDigestZkCredentialsProvider.
    void
    setUsername(String username)
    The username to be used with the default ZooKeeper credentials provider, VMParamsSingleSetCredentialsDigestZkCredentialsProvider.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ZooKeeperACLProperties

      public ZooKeeperACLProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Whether ZooKeeper Access Control List security credentials should be provided to connect to a Solr Cloud instance in ZooKeeper. See https://lucene.apache.org/solr/guide/8_2/zookeeper-access-control.html for more information.
      Returns:
      whether ZK ACL credentials should be provided
    • getUsername

      public String getUsername()
      The username to be used with the default ZooKeeper credentials provider, VMParamsSingleSetCredentialsDigestZkCredentialsProvider. This user only needs to have read-only permissions. Required if ZooKeeper Access Control Lists are enabled.
      Returns:
      the username to be used for the ZK credentials provider
    • getPassword

      public String getPassword()
      The password to be used with the default ZooKeeper credentials provider, VMParamsSingleSetCredentialsDigestZkCredentialsProvider. Required if ZooKeeper Access Control Lists are enabled.
      Returns:
      the password to be used for the ZK credentials provider
    • setEnabled

      public void setEnabled(boolean enabled)
      Whether ZooKeeper Access Control List security credentials should be provided to connect to a Solr Cloud instance in ZooKeeper. See https://lucene.apache.org/solr/guide/8_2/zookeeper-access-control.html for more information.
      Parameters:
      enabled - whether ZK ACL credentials should be provided
    • setUsername

      public void setUsername(String username)
      The username to be used with the default ZooKeeper credentials provider, VMParamsSingleSetCredentialsDigestZkCredentialsProvider. This user only needs to have read-only permissions. Required if ZooKeeper Access Control Lists are enabled.
      Parameters:
      username - the username to be used for the ZK credentials provider
    • setPassword

      public void setPassword(String password)
      The password to be used with the default ZooKeeper credentials provider, VMParamsSingleSetCredentialsDigestZkCredentialsProvider. Required if ZooKeeper Access Control Lists are enabled.
      Parameters:
      password - the password to be used for the ZK credentials provider
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object