public abstract class AbstractLdapAuthenticator extends java.lang.Object implements LdapAuthenticator, org.springframework.beans.factory.InitializingBean, org.springframework.context.MessageSourceAware
| 修飾子と型 | フィールドと説明 |
|---|---|
protected org.springframework.context.support.MessageSourceAccessor | messages |
| コンストラクターと説明 |
|---|
AbstractLdapAuthenticator(org.springframework.ldap.core.ContextSource contextSource) 提供された ContextSource で初期化されたインスタンスを作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | afterPropertiesSet() |
protected org.springframework.ldap.core.ContextSource | getContextSource() |
java.lang.String[] | getUserAttributes() |
protected java.util.List<java.lang.String> | getUserDns(java.lang.String username) ユーザーの可能な DN のリストを作成し、 userDnPatterns プロパティから作成します。 |
protected LdapUserSearch | getUserSearch() |
void | setMessageSource(org.springframework.context.MessageSource messageSource) |
void | setUserAttributes(java.lang.String[] userAttributes) ディレクトリから取得されるユーザー属性を設定します。 |
void | setUserDnPatterns(java.lang.String[] dnPattern) ユーザーに DN を提供するために使用されるパターンを設定します。 |
void | setUserSearch(LdapUserSearch userSearch) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticatepublic AbstractLdapAuthenticator(org.springframework.ldap.core.ContextSource contextSource)
ContextSource で初期化されたインスタンスを作成します。contextSource -public void afterPropertiesSet()
org.springframework.beans.factory.InitializingBean 内の afterPropertiesSet protected org.springframework.ldap.core.ContextSource getContextSource()
public java.lang.String[] getUserAttributes()
protected java.util.List<java.lang.String> getUserDns(java.lang.String username)
username - ユーザーのログイン名 protected LdapUserSearch getUserSearch()
public void setMessageSource(org.springframework.context.MessageSource messageSource)
org.springframework.context.MessageSourceAware 内の setMessageSource public void setUserAttributes(java.lang.String[] userAttributes)
userAttributes -public void setUserDnPatterns(java.lang.String[] dnPattern)
dnPattern - ユーザー名を DN に変換するときに試行されるパターンの配列。public void setUserSearch(LdapUserSearch userSearch)