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 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 interface org.springframework.security.authentication.AuthenticationProvider
      Throws:
      org.springframework.security.core.AuthenticationException
    • supports

      public boolean supports(Class<? extends Object> authentication)
      Specified by:
      supports in interface org.springframework.security.authentication.AuthenticationProvider
    • setKerberosClient

      public void setKerberosClient(KerberosClient kerberosClient)
      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