Package io.jmix.securityoauth2.impl
Class OAuth2AuthenticationResolver
java.lang.Object
io.jmix.securityoauth2.impl.OAuth2AuthenticationResolver
- All Implemented Interfaces:
AuthenticationResolver
@Component("sec_OAuth2AuthenticationResolver")
public class OAuth2AuthenticationResolver
extends Object
implements AuthenticationResolver
-
Constructor Summary
-
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)
-
Constructor Details
-
OAuth2AuthenticationResolver
public OAuth2AuthenticationResolver()
-
-
Method Details
-
supports
public boolean supports(org.springframework.security.core.Authentication authentication) - Specified by:
supports
in interfaceAuthenticationResolver
- Returns:
- true if resolving strategy supports authentication from the current security context
-
resolveAuthentication
public org.springframework.security.core.Authentication resolveAuthentication(org.springframework.security.core.Authentication authentication) Description copied from interface:AuthenticationResolver
Resolve root authentication from the authentication- Specified by:
resolveAuthentication
in interfaceAuthenticationResolver
-