test_class.file: adapters/oidc/as7-eap6/as7-adapter-spi/src/test/java/org/keycloak/adapters/jbossweb/JBossWebPrincipalFactoryTest.java
test_class.identifier: JBossWebPrincipalFactoryTest
test_case.body: @Test
      public void test() {
          Constructor constructor = JBossWebPrincipalFactory.findJBossGenericPrincipalConstructor();
          Assert.assertNotNull(constructor);
          Assert.assertEquals(Realm.class, constructor.getParameterTypes()[0]);
          Assert.assertEquals(String.class, constructor.getParameterTypes()[1]);
          Assert.assertEquals(List.class, constructor.getParameterTypes()[3]);
          Assert.assertEquals(Principal.class, constructor.getParameterTypes()[4]);
          Assert.assertEquals(Object.class, constructor.getParameterTypes()[6]);
          Assert.assertEquals(Subject.class, constructor.getParameterTypes()[8]);
      }
test_case.class_method_signature: JBossWebPrincipalFactoryTest.test()
test_case.full_signature: @Test public void test()
test_case.identifier: test
test_case.invocations: findJBossGenericPrincipalConstructor assertNotNull assertEquals getParameterTypes assertEquals getParameterTypes assertEquals getParameterTypes assertEquals getParameterTypes assertEquals getParameterTypes assertEquals getParameterTypes
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test()
focal_class.declarator: jbossWebPrincipalConstructor = findJBossGenericPrincipalConstructor()
focal_class.modifier: private static
focal_class.original_string: private static Constructor jbossWebPrincipalConstructor = findJBossGenericPrincipalConstructor();
focal_class.type: Constructor
focal_class.var_name: jbossWebPrincipalConstructor
focal_class.file: adapters/oidc/as7-eap6/as7-adapter-spi/src/main/java/org/keycloak/adapters/jbossweb/JBossWebPrincipalFactory.java
focal_class.identifier: JBossWebPrincipalFactory
focal_class.class_method_signature: JBossWebPrincipalFactory.createPrincipal(Principal userPrincipal, List<String> roles)
focal_class.full_signature: @Override protected GenericPrincipal createPrincipal(Principal userPrincipal, List<String> roles)
focal_class.identifier: createPrincipal
focal_class.modifiers: @Override protected
focal_class.parameters: (Principal userPrincipal, List<String> roles)
focal_class.return: GenericPrincipal
focal_class.signature: GenericPrincipal createPrincipal(Principal userPrincipal, List<String> roles)
focal_class.class_method_signature: JBossWebPrincipalFactory.createPrincipal(Realm realm, final Principal identity, final Set<String> roleSet)
focal_class.full_signature: @Override public GenericPrincipal createPrincipal(Realm realm, final Principal identity, final Set<String> roleSet)
focal_class.identifier: createPrincipal
focal_class.modifiers: @Override public
focal_class.parameters: (Realm realm, final Principal identity, final Set<String> roleSet)
focal_class.return: GenericPrincipal
focal_class.signature: GenericPrincipal createPrincipal(Realm realm, final Principal identity, final Set<String> roleSet)
focal_class.class_method_signature: JBossWebPrincipalFactory.getPrincipal(Subject subject)
focal_class.full_signature: protected Principal getPrincipal(Subject subject)
focal_class.identifier: getPrincipal
focal_class.modifiers: protected
focal_class.parameters: (Subject subject)
focal_class.return: Principal
focal_class.signature: Principal getPrincipal(Subject subject)
focal_class.class_method_signature: JBossWebPrincipalFactory.createGroup(String name, Set<Principal> principals)
focal_class.full_signature: protected Group createGroup(String name, Set<Principal> principals)
focal_class.identifier: createGroup
focal_class.modifiers: protected
focal_class.parameters: (String name, Set<Principal> principals)
focal_class.return: Group
focal_class.signature: Group createGroup(String name, Set<Principal> principals)
focal_class.class_method_signature: JBossWebPrincipalFactory.getRoleSets(Collection<String> roleSet)
focal_class.full_signature: protected Group[] getRoleSets(Collection<String> roleSet)
focal_class.identifier: getRoleSets
focal_class.modifiers: protected
focal_class.parameters: (Collection<String> roleSet)
focal_class.return: Group[]
focal_class.signature: Group[] getRoleSets(Collection<String> roleSet)
focal_class.class_method_signature: JBossWebPrincipalFactory.findJBossGenericPrincipalConstructor()
focal_class.full_signature: static Constructor findJBossGenericPrincipalConstructor()
focal_class.identifier: findJBossGenericPrincipalConstructor
focal_class.modifiers: static
focal_class.parameters: ()
focal_class.return: Constructor
focal_class.signature: Constructor findJBossGenericPrincipalConstructor()
focal_class.superclass: extends GenericPrincipalFactory
focal_method.body: static Constructor findJBossGenericPrincipalConstructor() {
          for (Constructor<?> c : JBossGenericPrincipal.class.getConstructors()) {
              if (c.getParameterTypes().length == 9 &&
                      c.getParameterTypes()[0].equals(Realm.class) &&
                      c.getParameterTypes()[1].equals(String.class) &&
                      c.getParameterTypes()[3].equals(List.class) &&
                      c.getParameterTypes()[4].equals(Principal.class) &&
                      c.getParameterTypes()[6].equals(Object.class) &&
                      c.getParameterTypes()[8].equals(Subject.class)) {
                  return c;
              }
          }
          return null;
      }
focal_method.class_method_signature: JBossWebPrincipalFactory.findJBossGenericPrincipalConstructor()
focal_method.full_signature: static Constructor findJBossGenericPrincipalConstructor()
focal_method.identifier: findJBossGenericPrincipalConstructor
focal_method.invocations: getConstructors getParameterTypes equals getParameterTypes equals getParameterTypes equals getParameterTypes equals getParameterTypes equals getParameterTypes equals getParameterTypes
focal_method.modifiers: static
focal_method.parameters: ()
focal_method.return: Constructor
focal_method.signature: Constructor findJBossGenericPrincipalConstructor()