Class OAuthPortalAuthenticationProvider

java.lang.Object
io.meeds.oauth2.server.security.OAuthPortalAuthenticationProvider
All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider

@Component public class OAuthPortalAuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider
  • Constructor Details

    • OAuthPortalAuthenticationProvider

      public OAuthPortalAuthenticationProvider()
  • Method Details

    • supports

      public boolean supports(Class<?> authentication)
      Specified by:
      supports in interface org.springframework.security.authentication.AuthenticationProvider
    • authenticate

      public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException
      Specified by:
      authenticate in interface org.springframework.security.authentication.AuthenticationProvider
      Throws:
      org.springframework.security.core.AuthenticationException
    • getCurrentIdentity

      public org.exoplatform.services.security.Identity getCurrentIdentity(jakarta.servlet.http.HttpServletRequest httpRequest)
    • isAnonymousUser

      public boolean isAnonymousUser(org.exoplatform.services.security.Identity identity)
    • authenticate

      protected org.springframework.security.core.Authentication authenticate(org.springframework.web.context.request.ServletRequestAttributes requestAttributes)