Class CreateLdapProviderRequest

java.lang.Object
com.cloudera.cdp.iam.model.CreateLdapProviderRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2025-10-15T17:00:47.759-07:00") public class CreateLdapProviderRequest extends Object
Create an LDAP Provider for account.
  • Constructor Details

    • CreateLdapProviderRequest

      public CreateLdapProviderRequest()
  • Method Details

    • getLdapProviderName

      public String getLdapProviderName()
      Getter for ldapProviderName. The name of LDAP provider to create.
    • setLdapProviderName

      public void setLdapProviderName(String ldapProviderName)
      Setter for ldapProviderName. The name of LDAP provider to create.
    • getUrl

      public String getUrl()
      Getter for url. The URL of the LDAP server. The URL must be prefixed with ldap:// or ldaps://. The URL can optionally specify a custom port, for example ldaps://ldap.example.org:663.
    • setUrl

      public void setUrl(String url)
      Setter for url. The URL of the LDAP server. The URL must be prefixed with ldap:// or ldaps://. The URL can optionally specify a custom port, for example ldaps://ldap.example.org:663.
    • getUserSearchBase

      public String getUserSearchBase()
      Getter for userSearchBase. Part of the directory tree under which to search for users. For example, ou=users,dc=example,dc=org.
    • setUserSearchBase

      public void setUserSearchBase(String userSearchBase)
      Setter for userSearchBase. Part of the directory tree under which to search for users. For example, ou=users,dc=example,dc=org.
    • getUserSearchFilter

      public String getUserSearchFilter()
      Getter for userSearchFilter. The search filter to use for finding users. For example, (uid={{username}}).
    • setUserSearchFilter

      public void setUserSearchFilter(String userSearchFilter)
      Setter for userSearchFilter. The search filter to use for finding users. For example, (uid={{username}}).
    • getGroupSearchBase

      public String getGroupSearchBase()
      Getter for groupSearchBase. The distinguished name indicating the path within the directory information tree to begin user searches from. For example, ou=groups,dc=example,dc=com.
    • setGroupSearchBase

      public void setGroupSearchBase(String groupSearchBase)
      Setter for groupSearchBase. The distinguished name indicating the path within the directory information tree to begin user searches from. For example, ou=groups,dc=example,dc=com.
    • getGroupSearchFilter

      public String getGroupSearchFilter()
      Getter for groupSearchFilter. The search filter to use for finding groups for authorization of authenticated users.
    • setGroupSearchFilter

      public void setGroupSearchFilter(String groupSearchFilter)
      Setter for groupSearchFilter. The search filter to use for finding groups for authorization of authenticated users.
    • getUsernameMappingAttribute

      public String getUsernameMappingAttribute()
      Getter for usernameMappingAttribute. The LDAP displayName attribute name, will be used as the user's name. For example, uid, sAMAccountName.
    • setUsernameMappingAttribute

      public void setUsernameMappingAttribute(String usernameMappingAttribute)
      Setter for usernameMappingAttribute. The LDAP displayName attribute name, will be used as the user's name. For example, uid, sAMAccountName.
    • getBindDn

      public String getBindDn()
      Getter for bindDn. Bind DN. For example, uid=myapp,ou=users,dc=example,dc=org. Optional. Required if bind is not anonymous.
    • setBindDn

      public void setBindDn(String bindDn)
      Setter for bindDn. Bind DN. For example, uid=myapp,ou=users,dc=example,dc=org. Optional. Required if bind is not anonymous.
    • getBindPassword

      public String getBindPassword()
      Getter for bindPassword. The password of the bind user.
    • setBindPassword

      public void setBindPassword(String bindPassword)
      Setter for bindPassword. The password of the bind user.
    • getUserBindProperty

      public String getUserBindProperty()
      Getter for userBindProperty. Property of the LDAP user object to use when binding to verify the password. For example, dn.
    • setUserBindProperty

      public void setUserBindProperty(String userBindProperty)
      Setter for userBindProperty. Property of the LDAP user object to use when binding to verify the password. For example, dn.
    • getGroupDnProperty

      public String getGroupDnProperty()
      Getter for groupDnProperty. The property of user object to use in {{dn}} interpolation of groupSearchFilter.
    • setGroupDnProperty

      public void setGroupDnProperty(String groupDnProperty)
      Setter for groupDnProperty. The property of user object to use in {{dn}} interpolation of groupSearchFilter.
    • getEmailMappingAttribute

      public String getEmailMappingAttribute()
      Getter for emailMappingAttribute. The LDAP email attribute name, will be used as the user's email. For example, mail.
    • setEmailMappingAttribute

      public void setEmailMappingAttribute(String emailMappingAttribute)
      Setter for emailMappingAttribute. The LDAP email attribute name, will be used as the user's email. For example, mail.
    • getFirstNameMappingAttribute

      public String getFirstNameMappingAttribute()
      Getter for firstNameMappingAttribute. The LDAP attribute used as firstname , will be used as the user's firstname. For example, givenName.
    • setFirstNameMappingAttribute

      public void setFirstNameMappingAttribute(String firstNameMappingAttribute)
      Setter for firstNameMappingAttribute. The LDAP attribute used as firstname , will be used as the user's firstname. For example, givenName.
    • getLastNameMappingAttribute

      public String getLastNameMappingAttribute()
      Getter for lastNameMappingAttribute. The LDAP sn attribute name, will be used as the user's lastname. For example, sn.
    • setLastNameMappingAttribute

      public void setLastNameMappingAttribute(String lastNameMappingAttribute)
      Setter for lastNameMappingAttribute. The LDAP sn attribute name, will be used as the user's lastname. For example, sn.
    • getGroupNameMappingAttribute

      public String getGroupNameMappingAttribute()
      Getter for groupNameMappingAttribute. The LDAP group attribute name, will be used as for user's group. For example, cn, name.
    • setGroupNameMappingAttribute

      public void setGroupNameMappingAttribute(String groupNameMappingAttribute)
      Setter for groupNameMappingAttribute. The LDAP group attribute name, will be used as for user's group. For example, cn, name.
    • getTlsCaCertificates

      public List<String> getTlsCaCertificates()
      Getter for tlsCaCertificates. If the ldaps:// server uses a self-signed SSL certificate or a certificate issued by a private Certificate Authority (CA), then provide the trusted certificates that can be used to validate the LDAP server certificate.
    • setTlsCaCertificates

      public void setTlsCaCertificates(List<String> tlsCaCertificates)
      Setter for tlsCaCertificates. If the ldaps:// server uses a self-signed SSL certificate or a certificate issued by a private Certificate Authority (CA), then provide the trusted certificates that can be used to validate the LDAP server certificate.
    • getSkipGroupSyncOnLogin

      public Boolean getSkipGroupSyncOnLogin()
      Getter for skipGroupSyncOnLogin. Whether to skip group sync.
    • setSkipGroupSyncOnLogin

      public void setSkipGroupSyncOnLogin(Boolean skipGroupSyncOnLogin)
      Setter for skipGroupSyncOnLogin. Whether to skip group sync.
    • getStartTls

      public Boolean getStartTls()
      Getter for startTls. Whether a start TLS request should be initiated on connecting to ldap.
    • setStartTls

      public void setStartTls(Boolean startTls)
      Setter for startTls. Whether a start TLS request should be initiated on connecting to ldap.
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object