Class OpenIdConnectAuthenticationProvider

  • All Implemented Interfaces:
    org.springframework.security.authentication.AuthenticationProvider

    public class OpenIdConnectAuthenticationProvider
    extends Object
    implements org.springframework.security.authentication.AuthenticationProvider
    This class represents the authentication provider for login with openid connect. Accepts an OpenIdConnectAuthenticationToken and returns an OpenIdAuthentication object after authentication.
    Since:
    11.3
    Author:
    Timea Popa
    • Constructor Detail

    • Method Detail

      • 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
      • supports

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