test_class.declarator: factory = new SpringSecurityAdapterTokenStoreFactory()
test_class.modifier: private
test_class.original_string: private AdapterTokenStoreFactory factory = new SpringSecurityAdapterTokenStoreFactory();
test_class.type: AdapterTokenStoreFactory
test_class.var_name: factory
test_class.declarator: deployment
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private KeycloakDeployment deployment;
test_class.type: KeycloakDeployment
test_class.var_name: deployment
test_class.declarator: request
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private HttpServletRequest request;
test_class.type: HttpServletRequest
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.file: adapters/oidc/spring-security/src/test/java/org/keycloak/adapters/springsecurity/token/SpringSecurityAdapterTokenStoreFactoryTest.java
test_class.identifier: SpringSecurityAdapterTokenStoreFactoryTest
test_case.body: @Test(expected = IllegalArgumentException.class)
      public void testCreateAdapterTokenStoreNullDeployment() throws Exception {
          factory.createAdapterTokenStore(null, request, response);
      }
test_case.class_method_signature: SpringSecurityAdapterTokenStoreFactoryTest.testCreateAdapterTokenStoreNullDeployment()
test_case.full_signature: @Test(expected = IllegalArgumentException.class) public void testCreateAdapterTokenStoreNullDeployment()
test_case.identifier: testCreateAdapterTokenStoreNullDeployment
test_case.invocations: createAdapterTokenStore
test_case.modifiers: @Test(expected = IllegalArgumentException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCreateAdapterTokenStoreNullDeployment()
focal_class.file: adapters/oidc/spring-security/src/main/java/org/keycloak/adapters/springsecurity/token/SpringSecurityAdapterTokenStoreFactory.java
focal_class.identifier: SpringSecurityAdapterTokenStoreFactory
focal_class.interfaces: implements AdapterTokenStoreFactory
focal_class.class_method_signature: SpringSecurityAdapterTokenStoreFactory.createAdapterTokenStore(KeycloakDeployment deployment, HttpServletRequest request, HttpServletResponse response)
focal_class.full_signature: @Override public AdapterTokenStore createAdapterTokenStore(KeycloakDeployment deployment, HttpServletRequest request, HttpServletResponse response)
focal_class.identifier: createAdapterTokenStore
focal_class.modifiers: @Override public
focal_class.parameters: (KeycloakDeployment deployment, HttpServletRequest request, HttpServletResponse response)
focal_class.return: AdapterTokenStore
focal_class.signature: AdapterTokenStore createAdapterTokenStore(KeycloakDeployment deployment, HttpServletRequest request, HttpServletResponse response)
focal_method.body: @Override
      public AdapterTokenStore createAdapterTokenStore(KeycloakDeployment deployment, HttpServletRequest request, HttpServletResponse response) {
          Assert.notNull(deployment, "KeycloakDeployment is required");
          if (deployment.getTokenStore() == TokenStore.COOKIE) {
              return new SpringSecurityCookieTokenStore(deployment, request, response);
          }
          return new SpringSecurityTokenStore(deployment, request);
      }
focal_method.class_method_signature: SpringSecurityAdapterTokenStoreFactory.createAdapterTokenStore(KeycloakDeployment deployment, HttpServletRequest request, HttpServletResponse response)
focal_method.full_signature: @Override public AdapterTokenStore createAdapterTokenStore(KeycloakDeployment deployment, HttpServletRequest request, HttpServletResponse response)
focal_method.identifier: createAdapterTokenStore
focal_method.invocations: notNull getTokenStore
focal_method.modifiers: @Override public
focal_method.parameters: (KeycloakDeployment deployment, HttpServletRequest request, HttpServletResponse response)
focal_method.return: AdapterTokenStore
focal_method.signature: AdapterTokenStore createAdapterTokenStore(KeycloakDeployment deployment, HttpServletRequest request, HttpServletResponse response)