public class KerberosAuthenticationProvider
extends java.lang.Object
implements org.springframework.security.authentication.AuthenticationProvider
AuthenticationProvider
for kerberos.Constructor and Description |
---|
KerberosAuthenticationProvider() |
Modifier and Type | Method and Description |
---|---|
org.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 |
supports(java.lang.Class<? extends java.lang.Object> authentication) |
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.AuthenticationProvider
org.springframework.security.core.AuthenticationException
public boolean supports(java.lang.Class<? extends java.lang.Object> authentication)
supports
in interface org.springframework.security.authentication.AuthenticationProvider
public void setKerberosClient(KerberosClient kerberosClient)
kerberosClient
- the new kerberos clientpublic void setUserDetailsService(org.springframework.security.core.userdetails.UserDetailsService detailsService)
detailsService
- the new user details service