Class BroadleafSolrProperties.ZooKeeperACLProperties
java.lang.Object
com.broadleafcommerce.search.provider.solr.autoconfigure.BroadleafSolrProperties.ZooKeeperACLProperties
- Enclosing class:
- BroadleafSolrProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe password to be used with the default ZooKeeper credentials provider,VMParamsSingleSetCredentialsDigestZkCredentialsProvider.The username to be used with the default ZooKeeper credentials provider,VMParamsSingleSetCredentialsDigestZkCredentialsProvider.inthashCode()booleanWhether ZooKeeper Access Control List security credentials should be provided to connect to a Solr Cloud instance in ZooKeeper.voidsetEnabled(boolean enabled) Whether ZooKeeper Access Control List security credentials should be provided to connect to a Solr Cloud instance in ZooKeeper.voidsetPassword(String password) The password to be used with the default ZooKeeper credentials provider,VMParamsSingleSetCredentialsDigestZkCredentialsProvider.voidsetUsername(String username) The username to be used with the default ZooKeeper credentials provider,VMParamsSingleSetCredentialsDigestZkCredentialsProvider.toString()
-
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
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
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
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
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-