Class AbstractAuthenticationConverter

java.lang.Object
cn.herodotus.engine.oauth2.authentication.provider.AbstractAuthenticationConverter
All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationConverter
Direct Known Subclasses:
OAuth2ResourceOwnerPasswordAuthenticationConverter, OAuth2SocialCredentialsAuthenticationConverter

public abstract class AbstractAuthenticationConverter extends Object implements org.springframework.security.web.authentication.AuthenticationConverter

Description: 抽象的认证 Converter

Author:
: gengwei.zheng
Date:
: 2023/6/21 6:23
  • Constructor Details

    • AbstractAuthenticationConverter

      public AbstractAuthenticationConverter(HttpCryptoProcessor httpCryptoProcessor)
  • Method Details

    • decrypt

      protected String[] decrypt(jakarta.servlet.http.HttpServletRequest request, String sessionId, List<String> parameters)
    • decrypt

      protected String decrypt(jakarta.servlet.http.HttpServletRequest request, String sessionId, String parameter)
    • getClientPrincipal

      protected org.springframework.security.core.Authentication getClientPrincipal()
    • getAdditionalParameters

      protected Map<String,Object> getAdditionalParameters(jakarta.servlet.http.HttpServletRequest request, org.springframework.util.MultiValueMap<String,String> parameters)
    • getRequestedScopes

      protected Set<String> getRequestedScopes(String scope)