psdi.security.ldap

Class LdapContextSettings

  • java.lang.Object
    • psdi.security.ldap.LdapContextSettings


  • public class LdapContextSettings
    extends java.lang.Object
    A class to represent the default LDAP context setting configured for the synchronization task.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getCredential()
      Returns the credential to be used for creating LDAP context.
      java.lang.String getHost()
      Returns the host name of the LDAP Server that is used for creating LDAP context.
      int getPort()
      Returns the port number of the LDAP Server that is used for creating LDAP context.
      java.lang.String getPrincipal()
      Returns the principal name to be used for creating LDAP context.
      boolean isSSLEnabled()
      Returns whether SSL is enabled or not on LDAP Server.
      void setCredential(java.lang.String string)
      Sets the credential to be used for creating LDAP context.
      void setHost(java.lang.String string)
      Sets the host name of the LDAP Server that is used for creating LDAP context.
      void setPort(int i)
      Sets the port number of the LDAP Server that is used for creating LDAP context.
      void setPrincipal(java.lang.String string)
      Sets the principal name to be used for creating LDAP context.
      void setSSLEnabled(boolean b)
      Sets whether SSL is enabled or not on LDAP Server.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LdapContextSettings

        public LdapContextSettings()
    • Method Detail

      • getPrincipal

        public java.lang.String getPrincipal()
        Returns the principal name to be used for creating LDAP context.
        Returns:
        the principal name to be used for creating LDAP context.
      • setPrincipal

        public void setPrincipal(java.lang.String string)
        Sets the principal name to be used for creating LDAP context.
        Parameters:
        string - the principal name to be used
      • getCredential

        public java.lang.String getCredential()
        Returns the credential to be used for creating LDAP context.
        Returns:
        the credential to be used for creating LDAP context.
      • setCredential

        public void setCredential(java.lang.String string)
        Sets the credential to be used for creating LDAP context.
        Parameters:
        string - the credential to be used
      • getHost

        public java.lang.String getHost()
        Returns the host name of the LDAP Server that is used for creating LDAP context.
        Returns:
        the host name of the LDAP Server
      • setHost

        public void setHost(java.lang.String string)
        Sets the host name of the LDAP Server that is used for creating LDAP context.
        Parameters:
        string - the host name of the LDAP Server
      • getPort

        public int getPort()
        Returns the port number of the LDAP Server that is used for creating LDAP context.
        Returns:
        the port number of the LDAP Server.
      • setPort

        public void setPort(int i)
        Sets the port number of the LDAP Server that is used for creating LDAP context.
        Parameters:
        i - the port number of the LDAP Server.
      • isSSLEnabled

        public boolean isSSLEnabled()
        Returns whether SSL is enabled or not on LDAP Server.
        Returns:
        true, if SSL is enabled, otherwise false.
      • setSSLEnabled

        public void setSSLEnabled(boolean b)
        Sets whether SSL is enabled or not on LDAP Server.
        Parameters:
        b - true, if SSL is enabled, otherwise false.