test_class.declarator: filter
test_class.modifier: private
test_class.original_string: private KeycloakAuthenticationProcessingFilter filter;
test_class.type: KeycloakAuthenticationProcessingFilter
test_class.var_name: filter
test_class.declarator: authenticationManager
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private AuthenticationManager authenticationManager;
test_class.type: AuthenticationManager
test_class.var_name: authenticationManager
test_class.declarator: adapterDeploymentContext
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private AdapterDeploymentContext adapterDeploymentContext;
test_class.type: AdapterDeploymentContext
test_class.var_name: adapterDeploymentContext
test_class.declarator: chain
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private FilterChain chain;
test_class.type: FilterChain
test_class.var_name: chain
test_class.declarator: request
test_class.modifier: private
test_class.original_string: private MockHttpServletRequest request;
test_class.type: MockHttpServletRequest
test_class.var_name: request
test_class.declarator: response
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private HttpServletResponse response;
test_class.type: HttpServletResponse
test_class.var_name: response
test_class.declarator: applicationContext
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private ApplicationContext applicationContext;
test_class.type: ApplicationContext
test_class.var_name: applicationContext
test_class.declarator: successHandler
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private AuthenticationSuccessHandler successHandler;
test_class.type: AuthenticationSuccessHandler
test_class.var_name: successHandler
test_class.declarator: failureHandler
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private AuthenticationFailureHandler failureHandler;
test_class.type: AuthenticationFailureHandler
test_class.var_name: failureHandler
test_class.declarator: keycloakFailureHandler
test_class.modifier: private
test_class.original_string: private KeycloakAuthenticationFailureHandler keycloakFailureHandler;
test_class.type: KeycloakAuthenticationFailureHandler
test_class.var_name: keycloakFailureHandler
test_class.declarator: keycloakAccount
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private OidcKeycloakAccount keycloakAccount;
test_class.type: OidcKeycloakAccount
test_class.var_name: keycloakAccount
test_class.declarator: keycloakDeployment
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private KeycloakDeployment keycloakDeployment;
test_class.type: KeycloakDeployment
test_class.var_name: keycloakDeployment
test_class.declarator: keycloakSecurityContext
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private KeycloakSecurityContext keycloakSecurityContext;
test_class.type: KeycloakSecurityContext
test_class.var_name: keycloakSecurityContext
test_class.declarator: authorities = Collections.singletonList(new KeycloakRole("ROLE_USER"))
test_class.modifier: private final
test_class.original_string: private final List<? extends GrantedAuthority> authorities = Collections.singletonList(new KeycloakRole("ROLE_USER"));
test_class.type: List<? extends GrantedAuthority>
test_class.var_name: authorities
test_class.file: adapters/oidc/spring-security/src/test/java/org/keycloak/adapters/springsecurity/filter/KeycloakAuthenticationProcessingFilterTest.java
test_class.identifier: KeycloakAuthenticationProcessingFilterTest
test_case.body: @Test(expected = UnsupportedOperationException.class)
      public void testSetAllowSessionCreation() throws Exception {
          filter.setAllowSessionCreation(true);
      }
test_case.class_method_signature: KeycloakAuthenticationProcessingFilterTest.testSetAllowSessionCreation()
test_case.full_signature: @Test(expected = UnsupportedOperationException.class) public void testSetAllowSessionCreation()
test_case.identifier: testSetAllowSessionCreation
test_case.invocations: setAllowSessionCreation
test_case.modifiers: @Test(expected = UnsupportedOperationException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSetAllowSessionCreation()
focal_class.declarator: AUTHORIZATION_HEADER = "Authorization"
focal_class.modifier: public static final
focal_class.original_string: public static final String AUTHORIZATION_HEADER = "Authorization";
focal_class.type: String
focal_class.var_name: AUTHORIZATION_HEADER
focal_class.declarator: DEFAULT_REQUEST_MATCHER =
              new OrRequestMatcher(
                      new AntPathRequestMatcher(KeycloakAuthenticationEntryPoint.DEFAULT_LOGIN_URI),
                      new RequestHeaderRequestMatcher(AUTHORIZATION_HEADER),
                      new QueryParamPresenceRequestMatcher(OAuth2Constants.ACCESS_TOKEN),
                      new AdapterStateCookieRequestMatcher()
              )
focal_class.modifier: public static final
focal_class.original_string: public static final RequestMatcher DEFAULT_REQUEST_MATCHER =
              new OrRequestMatcher(
                      new AntPathRequestMatcher(KeycloakAuthenticationEntryPoint.DEFAULT_LOGIN_URI),
                      new RequestHeaderRequestMatcher(AUTHORIZATION_HEADER),
                      new QueryParamPresenceRequestMatcher(OAuth2Constants.ACCESS_TOKEN),
                      new AdapterStateCookieRequestMatcher()
              );
focal_class.type: RequestMatcher
focal_class.var_name: DEFAULT_REQUEST_MATCHER
focal_class.declarator: log = LoggerFactory.getLogger(KeycloakAuthenticationProcessingFilter.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(KeycloakAuthenticationProcessingFilter.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: applicationContext
focal_class.modifier: private
focal_class.original_string: private ApplicationContext applicationContext;
focal_class.type: ApplicationContext
focal_class.var_name: applicationContext
focal_class.declarator: adapterDeploymentContext
focal_class.modifier: private
focal_class.original_string: private AdapterDeploymentContext adapterDeploymentContext;
focal_class.type: AdapterDeploymentContext
focal_class.var_name: adapterDeploymentContext
focal_class.declarator: adapterTokenStoreFactory = new SpringSecurityAdapterTokenStoreFactory()
focal_class.modifier: private
focal_class.original_string: private AdapterTokenStoreFactory adapterTokenStoreFactory = new SpringSecurityAdapterTokenStoreFactory();
focal_class.type: AdapterTokenStoreFactory
focal_class.var_name: adapterTokenStoreFactory
focal_class.declarator: authenticationManager
focal_class.modifier: private
focal_class.original_string: private AuthenticationManager authenticationManager;
focal_class.type: AuthenticationManager
focal_class.var_name: authenticationManager
focal_class.declarator: requestAuthenticatorFactory = new SpringSecurityRequestAuthenticatorFactory()
focal_class.modifier: private
focal_class.original_string: private RequestAuthenticatorFactory requestAuthenticatorFactory = new SpringSecurityRequestAuthenticatorFactory();
focal_class.type: RequestAuthenticatorFactory
focal_class.var_name: requestAuthenticatorFactory
focal_class.file: adapters/oidc/spring-security/src/main/java/org/keycloak/adapters/springsecurity/filter/KeycloakAuthenticationProcessingFilter.java
focal_class.identifier: KeycloakAuthenticationProcessingFilter
focal_class.interfaces: implements ApplicationContextAware
focal_class.class_method_signature: KeycloakAuthenticationProcessingFilter.KeycloakAuthenticationProcessingFilter(AuthenticationManager authenticationManager)
focal_class.full_signature: public  KeycloakAuthenticationProcessingFilter(AuthenticationManager authenticationManager)
focal_class.identifier: KeycloakAuthenticationProcessingFilter
focal_class.modifiers: public
focal_class.parameters: (AuthenticationManager authenticationManager)
focal_class.signature:  KeycloakAuthenticationProcessingFilter(AuthenticationManager authenticationManager)
focal_class.class_method_signature: KeycloakAuthenticationProcessingFilter.KeycloakAuthenticationProcessingFilter(AuthenticationManager authenticationManager, RequestMatcher
              requiresAuthenticationRequestMatcher)
focal_class.full_signature: public  KeycloakAuthenticationProcessingFilter(AuthenticationManager authenticationManager, RequestMatcher
              requiresAuthenticationRequestMatcher)
focal_class.identifier: KeycloakAuthenticationProcessingFilter
focal_class.modifiers: public
focal_class.parameters: (AuthenticationManager authenticationManager, RequestMatcher
              requiresAuthenticationRequestMatcher)
focal_class.signature:  KeycloakAuthenticationProcessingFilter(AuthenticationManager authenticationManager, RequestMatcher
              requiresAuthenticationRequestMatcher)
focal_class.class_method_signature: KeycloakAuthenticationProcessingFilter.afterPropertiesSet()
focal_class.full_signature: @Override public void afterPropertiesSet()
focal_class.identifier: afterPropertiesSet
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void afterPropertiesSet()
focal_class.class_method_signature: KeycloakAuthenticationProcessingFilter.attemptAuthentication(HttpServletRequest request, HttpServletResponse response)
focal_class.full_signature: @Override public Authentication attemptAuthentication(HttpServletRequest request, HttpServletResponse response)
focal_class.identifier: attemptAuthentication
focal_class.modifiers: @Override public
focal_class.parameters: (HttpServletRequest request, HttpServletResponse response)
focal_class.return: Authentication
focal_class.signature: Authentication attemptAuthentication(HttpServletRequest request, HttpServletResponse response)
focal_class.class_method_signature: KeycloakAuthenticationProcessingFilter.successfulAuthentication(HttpServletRequest request, HttpServletResponse response, FilterChain chain,
                                              Authentication authResult)
focal_class.full_signature: @Override protected void successfulAuthentication(HttpServletRequest request, HttpServletResponse response, FilterChain chain,
                                              Authentication authResult)
focal_class.identifier: successfulAuthentication
focal_class.modifiers: @Override protected
focal_class.parameters: (HttpServletRequest request, HttpServletResponse response, FilterChain chain,
                                              Authentication authResult)
focal_class.return: void
focal_class.signature: void successfulAuthentication(HttpServletRequest request, HttpServletResponse response, FilterChain chain,
                                              Authentication authResult)
focal_class.class_method_signature: KeycloakAuthenticationProcessingFilter.unsuccessfulAuthentication(HttpServletRequest request, HttpServletResponse response,
                                                AuthenticationException failed)
focal_class.full_signature: @Override protected void unsuccessfulAuthentication(HttpServletRequest request, HttpServletResponse response,
                                                AuthenticationException failed)
focal_class.identifier: unsuccessfulAuthentication
focal_class.modifiers: @Override protected
focal_class.parameters: (HttpServletRequest request, HttpServletResponse response,
                                                AuthenticationException failed)
focal_class.return: void
focal_class.signature: void unsuccessfulAuthentication(HttpServletRequest request, HttpServletResponse response,
                                                AuthenticationException failed)
focal_class.class_method_signature: KeycloakAuthenticationProcessingFilter.setApplicationContext(ApplicationContext applicationContext)
focal_class.full_signature: @Override public void setApplicationContext(ApplicationContext applicationContext)
focal_class.identifier: setApplicationContext
focal_class.modifiers: @Override public
focal_class.parameters: (ApplicationContext applicationContext)
focal_class.return: void
focal_class.signature: void setApplicationContext(ApplicationContext applicationContext)
focal_class.class_method_signature: KeycloakAuthenticationProcessingFilter.setAdapterTokenStoreFactory(AdapterTokenStoreFactory adapterTokenStoreFactory)
focal_class.full_signature: public void setAdapterTokenStoreFactory(AdapterTokenStoreFactory adapterTokenStoreFactory)
focal_class.identifier: setAdapterTokenStoreFactory
focal_class.modifiers: public
focal_class.parameters: (AdapterTokenStoreFactory adapterTokenStoreFactory)
focal_class.return: void
focal_class.signature: void setAdapterTokenStoreFactory(AdapterTokenStoreFactory adapterTokenStoreFactory)
focal_class.class_method_signature: KeycloakAuthenticationProcessingFilter.setAllowSessionCreation(boolean allowSessionCreation)
focal_class.full_signature: @Override public final void setAllowSessionCreation(boolean allowSessionCreation)
focal_class.identifier: setAllowSessionCreation
focal_class.modifiers: @Override public final
focal_class.parameters: (boolean allowSessionCreation)
focal_class.return: void
focal_class.signature: void setAllowSessionCreation(boolean allowSessionCreation)
focal_class.class_method_signature: KeycloakAuthenticationProcessingFilter.setContinueChainBeforeSuccessfulAuthentication(boolean continueChainBeforeSuccessfulAuthentication)
focal_class.full_signature: @Override public final void setContinueChainBeforeSuccessfulAuthentication(boolean continueChainBeforeSuccessfulAuthentication)
focal_class.identifier: setContinueChainBeforeSuccessfulAuthentication
focal_class.modifiers: @Override public final
focal_class.parameters: (boolean continueChainBeforeSuccessfulAuthentication)
focal_class.return: void
focal_class.signature: void setContinueChainBeforeSuccessfulAuthentication(boolean continueChainBeforeSuccessfulAuthentication)
focal_class.class_method_signature: KeycloakAuthenticationProcessingFilter.setRequestAuthenticatorFactory(RequestAuthenticatorFactory requestAuthenticatorFactory)
focal_class.full_signature: public void setRequestAuthenticatorFactory(RequestAuthenticatorFactory requestAuthenticatorFactory)
focal_class.identifier: setRequestAuthenticatorFactory
focal_class.modifiers: public
focal_class.parameters: (RequestAuthenticatorFactory requestAuthenticatorFactory)
focal_class.return: void
focal_class.signature: void setRequestAuthenticatorFactory(RequestAuthenticatorFactory requestAuthenticatorFactory)
focal_class.superclass: extends AbstractAuthenticationProcessingFilter
focal_method.body: @Override
      public final void setAllowSessionCreation(boolean allowSessionCreation) {
          throw new UnsupportedOperationException("This filter does not support explicitly setting a session creation policy");
      }
focal_method.class_method_signature: KeycloakAuthenticationProcessingFilter.setAllowSessionCreation(boolean allowSessionCreation)
focal_method.full_signature: @Override public final void setAllowSessionCreation(boolean allowSessionCreation)
focal_method.identifier: setAllowSessionCreation
focal_method.modifiers: @Override public final
focal_method.parameters: (boolean allowSessionCreation)
focal_method.return: void
focal_method.signature: void setAllowSessionCreation(boolean allowSessionCreation)