インターフェース LdapClient.BindSpec

含まれているインターフェース:
LdapClient

public static interface LdapClient.BindSpec
LdapClient.bind(java.lang.String) リクエストの仕様。
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    このバインディングに関連付ける属性。
    void
    名前、オブジェクト、属性をバインドする
    このバインディングに関連付けるオブジェクト。
    replaceExisting(boolean replaceExisting)
    既存のバインディングをこのバインディングに置き換えます (「再バインド」と同等)。
  • メソッドの詳細

    • object

      LdapClient.BindSpec object(ObjectSE object)
      このバインディングに関連付けるオブジェクト。

      このオブジェクトは属性のセットにエンコードされることに注意してください。オブジェクトの型が DirContextSE の場合、オブジェクトは DirContext.getAttributes(javax.naming.Name)SE を介して属性に変換されます。

      パラメーター:
      object - 関連付けるオブジェクト
      戻り値:
      さらなる構成のための LdapClient.BindSpec
    • attributes

      LdapClient.BindSpec attributes(AttributesSE attributes)
      このバインディングに関連付ける属性。
      パラメーター:
      attributes - 属性
      戻り値:
      さらなる構成のための LdapClient.BindSpec
    • replaceExisting

      LdapClient.BindSpec replaceExisting(boolean replaceExisting)
      既存のバインディングをこのバインディングに置き換えます (「再バインド」と同等)。

      false の場合、エントリがすでに存在する場合、バインドは NameAlreadyBoundException をスローします。

      パラメーター:
      replaceExisting - 既存のエントリを置き換えるかどうか
      戻り値:
      さらなる構成のための LdapClient.BindSpec
    • execute

      void execute()
      名前、オブジェクト、属性をバインドする
      例外:
      NameAlreadyBoundException - name がすでにバインドされており、replaceExisting(boolean) が false の場合