クラス InetOrgPersonContextMapper
- java.lang.Object
-
- org.springframework.security.ldap.userdetails.InetOrgPersonContextMapper
- 実装されているすべてのインターフェース:
UserDetailsContextMapper
public class InetOrgPersonContextMapper extends java.lang.Object implements UserDetailsContextMapper
コンストラクターの概要
コンストラクター コンストラクター 説明 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)上記の操作の逆。
メソッドの詳細
mapUserFromContext
public UserDetails mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx, java.lang.String username, java.util.Collection<? extends GrantedAuthority> authorities)
インターフェースからコピーされた説明:UserDetailsContextMapperセキュリティフレームワークで使用するために完全に読み込まれた UserDetails オブジェクトを作成します。- 次で指定:
- インターフェース
UserDetailsContextMapperのmapUserFromContext - パラメーター:
ctx- ユーザー情報を含むコンテキストオブジェクト。username- ユーザーが指定したログイン名。- 戻り値:
- ユーザーオブジェクト。
mapUserToContext
public void mapUserToContext(UserDetails user, org.springframework.ldap.core.DirContextAdapter ctx)
インターフェースからコピーされた説明:UserDetailsContextMapper上記の操作の逆。指定されたユーザーオブジェクトからコンテキストオブジェクトを作成します。たとえば、ユーザーを保存するときに呼び出されます。- 次で指定:
- インターフェース
UserDetailsContextMapperのmapUserToContext