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 Details

    • OAuth2AuthenticationResolver

      public OAuth2AuthenticationResolver()
  • Method Details

    • supports

      public boolean supports(org.springframework.security.core.Authentication authentication)
      Specified by:
      supports in interface AuthenticationResolver
      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 interface AuthenticationResolver