Class OpenAIREAuthenticationFilter

  • All Implemented Interfaces:
    javax.servlet.Filter, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationEventPublisherAware, org.springframework.context.EnvironmentAware, org.springframework.context.MessageSourceAware, org.springframework.core.env.EnvironmentCapable, org.springframework.web.context.ServletContextAware

    public class OpenAIREAuthenticationFilter
    extends org.mitre.openid.connect.client.OIDCAuthenticationFilter
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.mitre.openid.connect.client.OIDCAuthenticationFilter

        org.mitre.openid.connect.client.OIDCAuthenticationFilter.TargetLinkURIAuthenticationSuccessHandler
    • Field Summary

      • Fields inherited from class org.mitre.openid.connect.client.OIDCAuthenticationFilter

        CODE_VERIFIER_SESSION_VARIABLE, FILTER_PROCESSES_URL, HTTP_SOCKET_TIMEOUT, httpSocketTimeout, ISSUER_SESSION_VARIABLE, NONCE_SESSION_VARIABLE, REDIRECT_URI_SESION_VARIABLE, STATE_SESSION_VARIABLE, TARGET_SESSION_VARIABLE
      • Fields inherited from class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter

        authenticationDetailsSource, eventPublisher, messages
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doFilter​(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain)  
      protected void handleAuthorizationRequest​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      • Methods inherited from class org.mitre.openid.connect.client.OIDCAuthenticationFilter

        afterPropertiesSet, attemptAuthentication, createCodeVerifier, createNonce, createState, getAuthRequestOptionsService, getAuthRequestUrlBuilder, getClientConfigurationService, getIssuerService, getServerConfigurationService, getStoredCodeVerifier, getStoredNonce, getStoredState, getSymmetricCacheService, getTargetLinkURIAuthenticationSuccessHandler, getTimeSkewAllowance, getValidationServices, handleAuthorizationCodeResponse, handleError, setAuthenticationSuccessHandler, setAuthRequestOptionsService, setAuthRequestUrlBuilder, setClientConfigurationService, setIssuerService, setServerConfigurationService, setSymmetricCacheService, setTargetLinkURIAuthenticationSuccessHandler, setTargetLinkURIChecker, setTimeSkewAllowance, setValidationServices, targetLinkURIChecker
      • Methods inherited from class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter

        getAllowSessionCreation, getAuthenticationManager, getFailureHandler, getRememberMeServices, getSuccessHandler, requiresAuthentication, setAllowSessionCreation, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationFailureHandler, setAuthenticationManager, setContinueChainBeforeSuccessfulAuthentication, setFilterProcessesUrl, setMessageSource, setRememberMeServices, setRequiresAuthenticationRequestMatcher, setSessionAuthenticationStrategy, successfulAuthentication, unsuccessfulAuthentication
      • Methods inherited from class org.springframework.web.filter.GenericFilterBean

        addRequiredProperty, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext
    • Constructor Detail

      • OpenAIREAuthenticationFilter

        public OpenAIREAuthenticationFilter​(Properties properties)
    • Method Detail

      • doFilter

        public void doFilter​(javax.servlet.ServletRequest req,
                             javax.servlet.ServletResponse res,
                             javax.servlet.FilterChain chain)
                      throws IOException,
                             javax.servlet.ServletException
        Specified by:
        doFilter in interface javax.servlet.Filter
        Overrides:
        doFilter in class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
        Throws:
        IOException
        javax.servlet.ServletException
      • handleAuthorizationRequest

        protected void handleAuthorizationRequest​(javax.servlet.http.HttpServletRequest request,
                                                  javax.servlet.http.HttpServletResponse response)
                                           throws IOException
        Overrides:
        handleAuthorizationRequest in class org.mitre.openid.connect.client.OIDCAuthenticationFilter
        Throws:
        IOException