Class KerberosAuthenticationProvider
java.lang.Object
org.springframework.security.kerberos.authentication.KerberosAuthenticationProvider
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
public class KerberosAuthenticationProvider
extends Object
implements org.springframework.security.authentication.AuthenticationProvider
AuthenticationProvider for kerberos.- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authenticationauthenticate(org.springframework.security.core.Authentication authentication) voidsetKerberosClient(KerberosClient kerberosClient) Sets the kerberos client.voidsetUserDetailsService(org.springframework.security.core.userdetails.UserDetailsService detailsService) Sets the user details service.boolean
-
Constructor Details
-
KerberosAuthenticationProvider
public KerberosAuthenticationProvider()
-
-
Method Details
-
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException - Specified by:
authenticatein interfaceorg.springframework.security.authentication.AuthenticationProvider- Throws:
org.springframework.security.core.AuthenticationException
-
supports
- Specified by:
supportsin interfaceorg.springframework.security.authentication.AuthenticationProvider
-
setKerberosClient
Sets the kerberos client.- Parameters:
kerberosClient- the new kerberos client
-
setUserDetailsService
public void setUserDetailsService(org.springframework.security.core.userdetails.UserDetailsService detailsService) Sets the user details service.- Parameters:
detailsService- the new user details service
-