Class LDAPConfigProxyItem

  • All Implemented Interfaces:
    JaloOnlyItem, JaloOnlySingletonItem, java.io.Serializable, java.lang.Comparable

    public class LDAPConfigProxyItem
    extends ConfigProxyItem
    A singleton used to manage the LDAP specific properties.properties settings.

    Uses ConfigItem iternally to read/store config properties.

    CAUTION: The configproxyitem persistence mechanism is currently not supported by the core !!! (so we are using the project.properties settings, here)

    See Also:
    Serialized Form
    • Constructor Detail

      • LDAPConfigProxyItem

        public LDAPConfigProxyItem()
    • Method Detail

      • getProviderURLasList

        public java.util.List<java.lang.String> getProviderURLasList()
      • getProviderURLasString

        public java.lang.String getProviderURLasString()
      • setProviderURL

        public void setProviderURL​(java.util.List value)
      • getLocalAccountsOnlyAsList

        public java.util.List getLocalAccountsOnlyAsList()
      • getLocalAccountsOnlyAsString

        public java.lang.String getLocalAccountsOnlyAsString()
      • setLocalAccountsOnly

        public void setLocalAccountsOnly​(java.util.List value)
      • isHybrisPoolingDisabled

        public boolean isHybrisPoolingDisabled()
      • getServerEnvironments

        public java.util.List<java.util.Hashtable<java.lang.String,​java.lang.String>> getServerEnvironments()
        Build and return an array of DirContext environments.
        Returns:
        An array of hashtables suitable for creating DirContext objects.
      • getMaxRetries

        public int getMaxRetries()
        Returns:
        the max retry count.
      • getMinFailbackTime

        public int getMinFailbackTime()
        Set the current value for how many times servers will be tested (in total) before failing. If this method is not called, the class will default to three times the number of servers available.
      • setMinFailbackTime

        public void setMinFailbackTime​(java.lang.Integer minFailbackTime)
        Set the mimumim amount of time (ms) to wait before retrying the primary server in case of a failure. Default is 15 minutes.
        Parameters:
        minFailbackTime - - in ms.
      • getRootDN

        public java.lang.String getRootDN()
        Returns:
        Returns the rootDN
      • setRootDN

        public void setRootDN​(java.lang.String rootDN)
        Parameters:
        rootDN - The rootDN to set.
      • setInitSize

        public void setInitSize​(java.lang.Integer value)
      • getInitSize

        public int getInitSize()
      • getPoolTimeOut

        public int getPoolTimeOut()
      • setPoolTimeOut

        public void setPoolTimeOut​(java.lang.Integer value)
      • setMaxSize

        public void setMaxSize​(java.lang.Integer value)
      • getMaxSize

        public int getMaxSize()
      • setPrefSize

        public void setPrefSize​(java.lang.Integer value)
      • getPrefSize

        public int getPrefSize()
      • setUsePooling

        public void setUsePooling​(boolean value)
      • getUsePooling

        public boolean getUsePooling()
      • setLoginField

        public void setLoginField​(java.lang.String value)
      • getLoginField

        public java.lang.String getLoginField()
      • setCredentials

        public void setCredentials​(char[] value)
      • getCredentials

        public char[] getCredentials()
      • setFactory

        public void setFactory​(java.lang.String value)
      • getTracing

        public boolean getTracing()
      • getFactory

        public java.lang.String getFactory()
      • setSocketFactory

        public void setSocketFactory​(java.lang.String value)
      • getSocketFactory

        public java.lang.String getSocketFactory()
      • getJNDIConnectionTimeout

        public int getJNDIConnectionTimeout()
      • setJNDIConnectionTimeout

        public void setJNDIConnectionTimeout​(java.lang.Integer value)
      • setCaCerts

        public void setCaCerts​(java.lang.String value)
      • getCaCerts

        public java.lang.String getCaCerts()
      • setClientCerts

        public void setClientCerts​(java.lang.String value)
      • getClientCerts

        public java.lang.String getClientCerts()
      • setCaKeyStorePwd

        public void setCaKeyStorePwd​(java.lang.String value)
      • getCaKeyStorePwd

        public java.lang.String getCaKeyStorePwd()
      • setClientKeyStorePwd

        public void setClientKeyStorePwd​(java.lang.String value)
      • getClientKeyStorePwd

        public java.lang.String getClientKeyStorePwd()
      • setCaKeyStoreType

        public void setCaKeyStoreType​(java.lang.String value)
      • getCaKeyStoreType

        public java.lang.String getCaKeyStoreType()
      • setClientKeyStoreType

        public void setClientKeyStoreType​(java.lang.String value)
      • getClientKeyStoreType

        public java.lang.String getClientKeyStoreType()
      • setPrincipal

        public void setPrincipal​(java.lang.String value)
      • getPrincipal

        public java.lang.String getPrincipal()
      • setSecurityProtocol

        public void setSecurityProtocol​(java.lang.String value)
      • getSecurityProtocol

        public java.lang.String getSecurityProtocol()
      • getJNDIEnvironment

        public java.util.Hashtable<java.lang.String,​java.lang.String> getJNDIEnvironment()
      • dumpEnvironmentValues

        public void dumpEnvironmentValues​(java.util.Hashtable env)