クラス LdapAuthenticationProviderConfigurer.PasswordCompareConfigurer
java.lang.ObjectSE
org.springframework.security.config.annotation.authentication.configurers.ldap.LdapAuthenticationProviderConfigurer.PasswordCompareConfigurer
- 含まれているクラス:
- LdapAuthenticationProviderConfigurer<B extends ProviderManagerBuilder<B>>
パスワードに基づく比較を設定する
メソッドのサマリー
修飾子と型メソッド説明and()
さらにカスタマイズするためにLdapAuthenticationProviderConfigurer
への参照を取得できますpasswordAttribute
(StringSE passwordAttribute) ユーザーパスワードを含むディレクトリ内の属性。passwordEncoder
(PasswordEncoder passwordEncoder) 使用するPasswordEncoder
を指定できます。
メソッドの詳細
passwordEncoder
public LdapAuthenticationProviderConfigurer<B>.PasswordCompareConfigurer passwordEncoder(PasswordEncoder passwordEncoder) 使用するPasswordEncoder
を指定できます。デフォルトはNoOpPasswordEncoder
です。- パラメーター:
passwordEncoder
- 使用するPasswordEncoder
- 戻り値:
- さらなるカスタマイズのための
LdapAuthenticationProviderConfigurer<B extends ProviderManagerBuilder<B>>.PasswordCompareConfigurer
passwordAttribute
public LdapAuthenticationProviderConfigurer<B>.PasswordCompareConfigurer passwordAttribute(StringSE passwordAttribute) ユーザーパスワードを含むディレクトリ内の属性。デフォルトは "userPassword" です。- パラメーター:
passwordAttribute
- ユーザーパスワードを含むディレクトリ内の属性- 戻り値:
- さらなるカスタマイズのための
LdapAuthenticationProviderConfigurer<B extends ProviderManagerBuilder<B>>.PasswordCompareConfigurer
and
さらにカスタマイズするためにLdapAuthenticationProviderConfigurer
への参照を取得できます- 戻り値:
- ユーザーパスワードを含むディレクトリの属性