Interface Authentication

All Superinterfaces:
Principal, Serializable
All Known Implementing Classes:
AbstractAuthenticationToken, AnonymousAuthenticationToken, UsernamePasswordAuthenticationToken

@Deprecated public interface Authentication extends Principal, Serializable
Deprecated.
use Authentication
  • Method Details

    • getAuthorities

      GrantedAuthority[] getAuthorities()
      Deprecated.
    • getCredentials

      Object getCredentials()
      Deprecated.
    • getDetails

      Object getDetails()
      Deprecated.
    • getPrincipal

      Object getPrincipal()
      Deprecated.
    • isAuthenticated

      boolean isAuthenticated()
      Deprecated.
    • setAuthenticated

      void setAuthenticated(boolean isAuthenticated) throws IllegalArgumentException
      Deprecated.
      Throws:
      IllegalArgumentException
    • fromSpring

      @NonNull static Authentication fromSpring(@NonNull org.springframework.security.core.Authentication a)
      Deprecated.
    • toSpring

      @NonNull default org.springframework.security.core.Authentication toSpring()
      Deprecated.