public class KerberosServiceLdapAuthenticationProvider
extends org.springframework.security.kerberos.authentication.KerberosServiceAuthenticationProvider
KerberosLdapAuthenticationProvider, 
KerberosAuthenticationProvider, 
LdapUserSearch, 
LdapAuthoritiesPopulator| Constructor and Description | 
|---|
KerberosServiceLdapAuthenticationProvider()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
afterPropertiesSet()  | 
org.springframework.security.core.Authentication | 
authenticate(org.springframework.security.core.Authentication authentication)  | 
org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator | 
getLdapAuthoritiesPopulator()  | 
org.springframework.security.ldap.search.LdapUserSearch | 
getLdapUserSearch()  | 
org.springframework.security.kerberos.authentication.KerberosTicketValidator | 
getTicketValidator()  | 
boolean | 
getTrimRealm()  | 
void | 
setLdapAuthoritiesPopulator(org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator ldapAuthoritiesPopulator)  | 
void | 
setLdapUserSearch(org.springframework.security.ldap.search.LdapUserSearch ldapUserSearch)  | 
void | 
setTicketValidator(org.springframework.security.kerberos.authentication.KerberosTicketValidator ticketValidator)  | 
void | 
setTrimRealm(boolean trimRealm)  | 
public KerberosServiceLdapAuthenticationProvider()
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication)
                                                              throws org.springframework.security.core.AuthenticationException
authenticate in interface org.springframework.security.authentication.AuthenticationProviderauthenticate in class org.springframework.security.kerberos.authentication.KerberosServiceAuthenticationProviderorg.springframework.security.core.AuthenticationExceptionpublic void setLdapAuthoritiesPopulator(org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator ldapAuthoritiesPopulator)
ldapAuthoritiesPopulator - The LdapAuthoritiesPopulator to use
 for retrieving granted authorities from an LDAP directorypublic org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator getLdapAuthoritiesPopulator()
public void setLdapUserSearch(org.springframework.security.ldap.search.LdapUserSearch ldapUserSearch)
ldapUserSearch - The LdapUserSearch with which to look up
 users in an LDAP directorypublic org.springframework.security.ldap.search.LdapUserSearch getLdapUserSearch()
public void setTrimRealm(boolean trimRealm)
trimRealm - Defaults to true. If set to false, do not trim the
 realm portion (e.g. @EXAMPLE.ORG) from the authenticated user principal
 name (e.g. user@EXAMPLE.ORG).public boolean getTrimRealm()
public void setTicketValidator(org.springframework.security.kerberos.authentication.KerberosTicketValidator ticketValidator)
setTicketValidator in class org.springframework.security.kerberos.authentication.KerberosServiceAuthenticationProviderpublic org.springframework.security.kerberos.authentication.KerberosTicketValidator getTicketValidator()
public void afterPropertiesSet()
                        throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class org.springframework.security.kerberos.authentication.KerberosServiceAuthenticationProviderExceptionCopyright © 2021. All rights reserved.