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