Interface AuthenticationResolver

All Known Implementing Classes:
OAuth2AuthenticationResolver

public interface AuthenticationResolver
Strategy for accessing root authentication from wrapped authentication in the current security context.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.core.Authentication
    resolveAuthentication(org.springframework.security.core.Authentication authentication)
    Resolve root authentication from the authentication
    boolean
    supports(org.springframework.security.core.Authentication authentication)
     
  • Method Details

    • supports

      boolean supports(org.springframework.security.core.Authentication authentication)
      Returns:
      true if resolving strategy supports authentication from the current security context
    • resolveAuthentication

      org.springframework.security.core.Authentication resolveAuthentication(org.springframework.security.core.Authentication authentication)
      Resolve root authentication from the authentication