クラス InetOrgPersonContextMapper

    • メソッドのサマリー

      すべてのメソッド   インスタンスメソッド   具象メソッド  
      修飾子と型 メソッド 説明
      UserDetailsmapUserFromContext​(org.springframework.ldap.core.DirContextOperations ctx, java.lang.String username, java.util.Collection<? extends GrantedAuthority> authorities)
      セキュリティフレームワークで使用するために完全に読み込まれた UserDetails オブジェクトを作成します。
      voidmapUserToContext​(UserDetails user, org.springframework.ldap.core.DirContextAdapter ctx)
      上記の操作の逆。
      • クラス java.lang.Object から継承されたメソッド

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • コンストラクターの詳細

      • InetOrgPersonContextMapper

        public InetOrgPersonContextMapper()
    • メソッドの詳細

      • mapUserFromContext

        public UserDetails mapUserFromContext​(org.springframework.ldap.core.DirContextOperations ctx,
                                              java.lang.String username,
                                              java.util.Collection<? extends GrantedAuthority> authorities)
        インターフェースからコピーされた説明: UserDetailsContextMapper
        セキュリティフレームワークで使用するために完全に読み込まれた UserDetails オブジェクトを作成します。
        次で指定:
        インターフェース UserDetailsContextMappermapUserFromContext 
        パラメーター:
        ctx - ユーザー情報を含むコンテキストオブジェクト。
        username - ユーザーが指定したログイン名。
        戻り値:
        ユーザーオブジェクト。
      • mapUserToContext

        public void mapUserToContext​(UserDetails user,
                                     org.springframework.ldap.core.DirContextAdapter ctx)
        インターフェースからコピーされた説明: UserDetailsContextMapper
        上記の操作の逆。指定されたユーザーオブジェクトからコンテキストオブジェクトを作成します。たとえば、ユーザーを保存するときに呼び出されます。
        次で指定:
        インターフェース UserDetailsContextMappermapUserToContext