private void triggerPreValidationListeners(OAuth2TokenValidationRequestDTO requestDTO) throws IdentityOAuth2Exception { OAuthEventInterceptor oAuthEventInterceptorProxy = OAuthComponentServiceHolder.getInstance() .getOAuthEventInterceptorProxy(); if (oAuthEventInterceptorProxy != null && oAuthEventInterceptorProxy.isEnabled()) { Map<String, Object> paramMap = new HashMap<>(); oAuthEventInterceptorProxy.onPreTokenValidation(requestDTO, paramMap); } }
private void triggerPreValidationListeners(OAuth2TokenValidationRequestDTO requestDTO) throws IdentityOAuth2Exception { OAuthEventInterceptor oAuthEventInterceptorProxy = OAuthComponentServiceHolder.getInstance() .getOAuthEventInterceptorProxy(); if (oAuthEventInterceptorProxy != null && oAuthEventInterceptorProxy.isEnabled()) { oAuthEventInterceptorProxy.onPreTokenValidation(requestDTO); } }