Package io.jmix.core.security
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 TypeMethodDescriptionorg.springframework.security.core.Authentication
resolveAuthentication
(org.springframework.security.core.Authentication authentication) Resolve root authentication from the authenticationboolean
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
-