Interface AuthenticationPrincipalResolver

All Known Implementing Classes:
AuthServerAuthenticationPrincipalResolver

public interface AuthenticationPrincipalResolver
Strategy for resolving a principal from the authentication. Used by CurrentAuthentication.getUser().
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    resolveAuthenticationPrincipal(org.springframework.security.core.Authentication authentication)
    Resolves a principal from the authentication
    boolean
    supports(org.springframework.security.core.Authentication authentication)
    Checks if resolving strategy supports authentication from the current security context
  • Method Details

    • supports

      boolean supports(org.springframework.security.core.Authentication authentication)
      Checks if resolving strategy supports authentication from the current security context
    • resolveAuthenticationPrincipal

      Object resolveAuthenticationPrincipal(org.springframework.security.core.Authentication authentication)
      Resolves a principal from the authentication