Class LdapIdmap.Builder

  • Enclosing class:
    LdapIdmap

    public static class LdapIdmap.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • cacheRefreshIntervalSeconds

        public LdapIdmap.Builder cacheRefreshIntervalSeconds​(Integer cacheRefreshIntervalSeconds)
        The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.
        Parameters:
        cacheRefreshIntervalSeconds - the value to set
        Returns:
        this builder
      • cacheLifetimeSeconds

        public LdapIdmap.Builder cacheLifetimeSeconds​(Integer cacheLifetimeSeconds)
        The maximum amount of time the mount target is allowed to use a cached entry.
        Parameters:
        cacheLifetimeSeconds - the value to set
        Returns:
        this builder
      • negativeCacheLifetimeSeconds

        public LdapIdmap.Builder negativeCacheLifetimeSeconds​(Integer negativeCacheLifetimeSeconds)
        The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.
        Parameters:
        negativeCacheLifetimeSeconds - the value to set
        Returns:
        this builder
      • userSearchBase

        public LdapIdmap.Builder userSearchBase​(String userSearchBase)
        All LDAP searches are recursive starting at this user.

        Example: CN=User,DC=domain,DC=com

        Parameters:
        userSearchBase - the value to set
        Returns:
        this builder
      • groupSearchBase

        public LdapIdmap.Builder groupSearchBase​(String groupSearchBase)
        All LDAP searches are recursive starting at this group.

        Example: CN=Group,DC=domain,DC=com

        Parameters:
        groupSearchBase - the value to set
        Returns:
        this builder
      • outboundConnector1Id

        public LdapIdmap.Builder outboundConnector1Id​(String outboundConnector1Id)
        The OCID of the first connector to use to communicate with the LDAP server.
        Parameters:
        outboundConnector1Id - the value to set
        Returns:
        this builder
      • outboundConnector2Id

        public LdapIdmap.Builder outboundConnector2Id​(String outboundConnector2Id)
        The OCID of the second connector to use to communicate with the LDAP server.
        Parameters:
        outboundConnector2Id - the value to set
        Returns:
        this builder