Package io.jmix.core.security
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 TypeMethodDescriptionresolveAuthenticationPrincipal
(org.springframework.security.core.Authentication authentication) Resolves a principal from the authenticationboolean
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
-