@Configuration
@ConfigurationProperties(prefix="xd.security.authentication.ldap")
public class LdapAuthenticationConfiguration
extends org.springframework.security.config.annotation.authentication.configurers.GlobalAuthenticationConfigurerAdapter
Constructor and Description |
---|
LdapAuthenticationConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGroupRoleAttribute() |
java.lang.String |
getGroupSearchBase() |
java.lang.String |
getGroupSearchFilter() |
java.lang.String |
getManagerDn() |
java.lang.String |
getManagerPassword() |
java.lang.String |
getUrl() |
java.lang.String |
getUserDnPattern() |
java.lang.String |
getUserSearchBase() |
java.lang.String |
getUserSearchFilter() |
void |
init(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) |
void |
setGroupRoleAttribute(java.lang.String groupRoleAttribute) |
void |
setGroupSearchBase(java.lang.String groupSearchBase) |
void |
setGroupSearchFilter(java.lang.String groupSearchFilter) |
void |
setManagerDn(java.lang.String managerDn) |
void |
setManagerPassword(java.lang.String managerPassword) |
void |
setUrl(java.lang.String url) |
void |
setUserDnPattern(java.lang.String userDnPattern) |
void |
setUserSearchBase(java.lang.String userSearchBase) |
void |
setUserSearchFilter(java.lang.String userSearchFilter) |
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
public java.lang.String getUserDnPattern()
public void setUserDnPattern(java.lang.String userDnPattern)
public java.lang.String getManagerDn()
public void setManagerDn(java.lang.String managerDn)
public java.lang.String getManagerPassword()
public void setManagerPassword(java.lang.String managerPassword)
public java.lang.String getUserSearchBase()
public void setUserSearchBase(java.lang.String userSearchBase)
public java.lang.String getUserSearchFilter()
public void setUserSearchFilter(java.lang.String userSearchFilter)
public java.lang.String getGroupSearchFilter()
public void setGroupSearchFilter(java.lang.String groupSearchFilter)
public java.lang.String getGroupSearchBase()
public void setGroupSearchBase(java.lang.String groupSearchBase)
public java.lang.String getGroupRoleAttribute()
public void setGroupRoleAttribute(java.lang.String groupRoleAttribute)
public void init(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) throws java.lang.Exception
init
in interface org.springframework.security.config.annotation.SecurityConfigurer<org.springframework.security.authentication.AuthenticationManager,org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder>
init
in class org.springframework.security.config.annotation.authentication.configurers.GlobalAuthenticationConfigurerAdapter
java.lang.Exception