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
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authentication
authenticate
(org.springframework.security.core.Authentication authentication) void
setKerberosClient
(KerberosClient kerberosClient) Sets the kerberos client.void
setUserDetailsService
(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:
authenticate
in interfaceorg.springframework.security.authentication.AuthenticationProvider
- Throws:
org.springframework.security.core.AuthenticationException
-
supports
- Specified by:
supports
in 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
-