Class OpenAIREAuthenticationFilter
- java.lang.Object
-
- org.springframework.web.filter.GenericFilterBean
-
- org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
-
- org.mitre.openid.connect.client.OIDCAuthenticationFilter
-
- eu.dnetlib.authentication.security.oidc.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
-
-
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
-
-
Constructor Summary
Constructors Constructor Description OpenAIREAuthenticationFilter(Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain)protected voidhandleAuthorizationRequest(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
-
-
-
-
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:
doFilterin interfacejavax.servlet.Filter- Overrides:
doFilterin classorg.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter- Throws:
IOExceptionjavax.servlet.ServletException
-
handleAuthorizationRequest
protected void handleAuthorizationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException- Overrides:
handleAuthorizationRequestin classorg.mitre.openid.connect.client.OIDCAuthenticationFilter- Throws:
IOException
-
-