View Javadoc

1   /*
2    * $Id: MultiuserSecurityWithMultiuserProviderTestCase.java 22368 2011-07-11 07:25:42Z justin.calleja $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.security;
12  
13  import java.util.Arrays;
14  import java.util.Collection;
15  
16  import org.junit.runners.Parameterized.Parameters;
17  
18  
19  /**
20   * Tests multi-user security against a security provider which holds authentications 
21   * for multiple users concurrently.
22   * 
23   * see EE-979
24   */
25  public class MultiuserSecurityWithMultiuserProviderTestCase extends MultiuserSecurityTestCase
26  {
27          
28      public MultiuserSecurityWithMultiuserProviderTestCase(ConfigVariant variant, String configResources)
29      {
30          super(variant, configResources);
31      }
32  
33      @Parameters
34      public static Collection<Object[]> parameters()
35      {
36          return Arrays.asList(new Object[][]{
37              {ConfigVariant.SERVICE, "multiuser-security-test-service.xml, multiuser-security-provider.xml"},
38              {ConfigVariant.FLOW, "multiuser-security-test-flow.xml, multiuser-security-provider.xml"}
39          });
40      }
41      
42      
43  }