directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject [01/27] directory-fortress-commander git commit: change package structure and names, pom improvements, license
Date Tue, 11 Nov 2014 20:35:11 GMT
Repository: directory-fortress-commander
Updated Branches:
  refs/heads/master 4ad028717 -> 547b9ccd3


http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/blob/547b9ccd/src/test/java/org/openldap/commander/StartExamples.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/openldap/commander/StartExamples.java b/src/test/java/org/openldap/commander/StartExamples.java
deleted file mode 100644
index 64eb96d..0000000
--- a/src/test/java/org/openldap/commander/StartExamples.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
- * Copyright 1998-2014 The OpenLDAP Foundation.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted only as authorized by the OpenLDAP
- * Public License.
- *
- * A copy of this license is available in the file LICENSE in the
- * top-level directory of the distribution or, alternatively, at
- * <http://www.OpenLDAP.org/license.html>.
- */
-package org.openldap.commander;
-
-import java.lang.management.ManagementFactory;
-import javax.management.MBeanServer;
-
-import org.eclipse.jetty.jmx.MBeanContainer;
-import org.eclipse.jetty.security.HashLoginService;
-import org.eclipse.jetty.server.Connector;
-import org.eclipse.jetty.server.Server;
-import org.eclipse.jetty.server.bio.SocketConnector;
-import org.eclipse.jetty.webapp.WebAppContext;
-
-/**
- * Separate startup class for people that want to run the examples directly. Use parameter
- * -Dcom.sun.management.jmxremote to startup JMX (and e.g. connect with jconsole).
- */
-public class StartExamples
-{
-	/**
-	 * Used for logging.
-	 */
-
-	/**
-	 * Main function, starts the jetty server.
-	 * 
-	 * @param args
-	 */
-	public static void main(String[] args)
-	{
-		Server server = new Server();
-		SocketConnector connector = new SocketConnector();
-
-        System.setProperty("version", "1.0-RC39");
-
-		// Set some timeout options to make debugging easier.
-		connector.setMaxIdleTime(1000 * 60 * 60);
-		connector.setSoLingerTime(-1);
-		connector.setPort(8081);
-		server.setConnectors(new Connector[] { connector });
-
-		WebAppContext bb = new WebAppContext();
-		bb.setServer(server);
-		//bb.setContextPath("/rbac");
-        bb.setContextPath("/commander");
-		bb.setWar("src/main/webapp");
-
-        // Setup the test security realm, its name must match what's in the web.xml's 'realm-name' tag:
-        HashLoginService dummyLoginService = new HashLoginService(
-          "SentrySecurityRealm");
-        dummyLoginService.setConfig("src/test/resources/jetty-users.properties");
-        bb.getSecurityHandler().setLoginService( dummyLoginService );
-		server.setHandler(bb);
-
-		MBeanServer mBeanServer = ManagementFactory.getPlatformMBeanServer();
-		MBeanContainer mBeanContainer = new MBeanContainer(mBeanServer);
-		server.getContainer().addEventListener(mBeanContainer);
-
-		try
-		{
-			mBeanContainer.start();
-			server.start();
-			server.join();
-		}
-		catch (Exception e)
-		{
-			e.printStackTrace();
-			System.exit(100);
-		}
-	}
-
-	/**
-	 * Construct.
-	 */
-	StartExamples()
-	{
-		super();
-	}
-}

http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/blob/547b9ccd/src/test/java/org/openldap/commander/integration/CommanderSeleniumITCase.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/openldap/commander/integration/CommanderSeleniumITCase.java b/src/test/java/org/openldap/commander/integration/CommanderSeleniumITCase.java
deleted file mode 100644
index 8def3b2..0000000
--- a/src/test/java/org/openldap/commander/integration/CommanderSeleniumITCase.java
+++ /dev/null
@@ -1,831 +0,0 @@
-/*
- * This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
- * Copyright 1998-2014 The OpenLDAP Foundation.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted only as authorized by the OpenLDAP
- * Public License.
- *
- * A copy of this license is available in the file LICENSE in the
- * top-level directory of the distribution or, alternatively, at
- * <http://www.OpenLDAP.org/license.html>.
- */
-package org.openldap.commander.integration;
-
-import java.io.File;
-import java.util.List;
-import java.util.concurrent.TimeUnit;
-
-import org.apache.log4j.Logger;
-import org.junit.*;
-import static org.junit.Assert.*;
-
-import org.openqa.selenium.*;
-import org.openqa.selenium.firefox.FirefoxDriver;
-import org.openqa.selenium.firefox.FirefoxProfile;
-import org.openqa.selenium.remote.LocalFileDetector;
-import org.openldap.commander.GlobalIds;
-
-/**
- * This class uses apache selenium firefox driver to drive commander web ui
- */
-public class CommanderSeleniumITCase
-{
-    private WebDriver driver;
-    private String baseUrl;
-    private boolean acceptNextAlert = true;
-    private StringBuffer verificationErrors = new StringBuffer();
-    private static final Logger log = Logger.getLogger( CommanderSeleniumITCase.class.getName() );
-
-    @Before
-    public void setUp() throws Exception
-    {
-        FirefoxProfile ffProfile = new FirefoxProfile();
-        ffProfile.setPreference( "browser.safebrowsing.malware.enabled", false );
-        driver = new FirefoxDriver( ffProfile );
-        driver.manage().window().maximize();
-
-        // Use test local default:
-        //baseUrl = "http://localhost:8081";
-        //baseUrl = "http://192.168.1.101:8080";
-        //baseUrl = "http://192.168.1.104:8080";
-
-        // tomcat default:
-        baseUrl = "http://localhost:8080";
-        //baseUrl = "http://fortressdemo2.com:8080";
-        // tomcat SSL:
-        //baseUrl = "https://localhost:8443";
-        //baseUrl = "https://fortressdemo2.com:8443";
-        driver.manage().timeouts().implicitlyWait( 5, TimeUnit.SECONDS );
-    }
-
-    @Test
-    public void testCase1() throws Exception
-    {
-        log.info( "Begin CommanderSeleniumITCase" );
-        driver.get( baseUrl + "/commander" );
-        login();
-        TUtils.sleep( 1 );
-
-        boolean skipFirstHalf = false;
-        //boolean skipFirstHalf = true;
-        boolean skipSecondHalf = false;
-        //boolean skipSecondHalf = true;
-        if ( !skipFirstHalf )
-        {
-            users();
-            roles();
-            pobjs();
-            perms();
-            ssds();
-            dsds();
-            ouusers();
-            ouperms();
-        }
-
-        if ( !skipSecondHalf )
-        {
-            admrles();
-            admobjs();
-            admperms();
-            plcys();
-            //groups();
-            binds();
-            authzs();
-            mods();
-        }
-
-
-        /*****
-         *  LOGOUT
-         */
-        driver.findElement( By.linkText( "LOGOUT" ) ).click();
-        log.info( "End CommanderSeleniumITCase" );
-        //driver.findElement( By.linkText( "glob:search*" ) ).click();
-    }
-
-    private void login()
-    {
-        driver.findElement( By.id( GlobalIds.USER_ID ) ).clear();
-        driver.findElement( By.id( GlobalIds.USER_ID ) ).sendKeys( "test" );
-        driver.findElement( By.id( GlobalIds.PSWD_FIELD ) ).clear();
-        driver.findElement( By.id( GlobalIds.PSWD_FIELD ) ).sendKeys( "test" );
-        driver.findElement( By.name( GlobalIds.LOGIN ) ).click();
-    }
-
-    private void users()
-    {
-        /*****
-         *  USERS_PAGE TESTS
-         */
-        driver.findElement( By.linkText( "USERS" ) ).click();
-        //driver.findElement( By.id( "roleRb" ) ).click();
-        driver.findElement( By.id( "roleAssignLinkLbl" ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.linkText( ">" ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.linkText( GlobalIds.SELECT ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.name( "userformsearchfields:" + GlobalIds.SEARCH ) ).click();
-        driver.findElement( By.id( GlobalIds.FIELD_1 ) ).clear();
-        driver.findElement( By.id( GlobalIds.FIELD_1 ) ).sendKeys( "dev1" );
-        driver.findElement( By.id( "ouAssignLinkLbl" ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.linkText( GlobalIds.SELECT ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.name( "userformsearchfields:" + GlobalIds.SEARCH ) ).click();
-        TUtils.sleep( 1 );
-        WebElement table = driver.findElement(By.id("usertreegrid"));
-        List<WebElement> allRows = table.findElements(By.tagName("tr"));
-        allRows.get( 4 ).findElement(By.className("imxt-cell")).click();
-        TUtils.sleep( 1 );
-        allRows.get( 5 ).findElement(By.className("imxt-cell")).click();
-        TUtils.sleep( 1 );
-        allRows.get( 6 ).findElement(By.className("imxt-cell")).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.name( GlobalIds.CLEAR ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.id( GlobalIds.USER_ID ) ).sendKeys( "selTestU1" );
-        driver.findElement( By.id( GlobalIds.PSWD_FIELD ) ).clear();
-        driver.findElement( By.id( GlobalIds.PSWD_FIELD ) ).sendKeys( "password" );
-        driver.findElement( By.id( GlobalIds.OU ) ).clear();
-        driver.findElement( By.id( GlobalIds.OU ) ).sendKeys( "dev1" );
-        driver.findElement( By.name( GlobalIds.OU_SEARCH ) ).click();
-        TUtils.sleep( 2 );
-        driver.findElement( By.linkText( GlobalIds.SELECT ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.name( GlobalIds.POLICY_SEARCH ) ).click();
-        TUtils.sleep( 2 );
-        driver.findElement( By.linkText( ">" ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.linkText( GlobalIds.SELECT ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.name( GlobalIds.ADD ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.id( GlobalIds.ROLE_ASSIGNMENTS_LABEL ) ).click();
-        ( ( JavascriptExecutor ) driver ).executeScript( "$(document.getElementById('roles')).val('role1');" );
-        driver.findElement( By.id( GlobalIds.BEGIN_TIME_RC ) ).clear();
-        driver.findElement( By.id( GlobalIds.BEGIN_TIME_RC ) ).sendKeys( "8:00 AM" );
-        driver.findElement( By.id( GlobalIds.END_TIME_RC ) ).clear();
-        driver.findElement( By.id( GlobalIds.END_TIME_RC ) ).sendKeys( "5:00 PM" );
-        driver.findElement( By.id( GlobalIds.BEGIN_DATE_RC ) ).clear();
-        driver.findElement( By.id( GlobalIds.BEGIN_DATE_RC ) ).sendKeys( "1/1/2013" );
-        driver.findElement( By.id( GlobalIds.END_DATE_RC ) ).clear();
-        driver.findElement( By.id( GlobalIds.END_DATE_RC ) ).sendKeys( "1/1/2099" );
-        driver.findElement( By.id( GlobalIds.BEGIN_LOCK_DATE_RC ) ).clear();
-        driver.findElement( By.id( GlobalIds.BEGIN_LOCK_DATE_RC ) ).sendKeys( "6/1/2013" );
-        driver.findElement( By.id( GlobalIds.END_LOCK_DATE_RC ) ).clear();
-        driver.findElement( By.id( GlobalIds.END_LOCK_DATE_RC ) ).sendKeys( "6/15/2013" );
-        driver.findElement( By.id( GlobalIds.TIMEOUT_RC ) ).clear();
-        driver.findElement( By.id( GlobalIds.TIMEOUT_RC ) ).sendKeys( "120" );
-        driver.findElement( By.id( GlobalIds.SUNDAY_RC ) ).click();
-        driver.findElement( By.id( GlobalIds.MONDAY_RC ) ).click();
-        driver.findElement( By.id( GlobalIds.TUESDAY_RC ) ).click();
-        driver.findElement( By.id( GlobalIds.WEDNESDAY_RC ) ).click();
-        driver.findElement( By.id( GlobalIds.THURSDAY_RC ) ).click();
-        driver.findElement( By.id( GlobalIds.FRIDAY_RC ) ).click();
-        driver.findElement( By.id( GlobalIds.SATURDAY_RC ) ).click();
-        driver.findElement( By.name( GlobalIds.ASSIGN ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.id( GlobalIds.ROLE_ASSIGNMENTS_LABEL ) ).click();
-        driver.findElement( By.name( GlobalIds.ROLES_SEARCH ) ).click();
-        TUtils.sleep( 2 );
-        driver.findElement( By.linkText( "6" ) ).click();
-        TUtils.sleep( 2 );
-        driver.findElement( By.linkText( GlobalIds.SELECT ) ).click();
-        TUtils.sleep( 2 );
-        driver.findElement( By.name( GlobalIds.ASSIGN ) ).click();
-        TUtils.sleep( 2 );
-        driver.findElement( By.id( "adminRoleAssignmentsLabel" ) ).click();
-            /*
-                    if(driver.findElement( By.name( "adminRoles" ) ).isDisplayed())
-                    {
-                        System.out.println("adminRoles is displayed!!!");
-                    }
-                    else
-                    {
-                        System.out.println("adminRoles is NOT displayed!!!");
-                    }
-            */
-        ( ( JavascriptExecutor ) driver ).executeScript( "$(document.getElementById('adminRoles')).val" +
-            "('DemoAdminUsers');" );
-        driver.findElement( By.id( GlobalIds.BEGIN_TIME_ARC ) ).clear();
-        driver.findElement( By.id( GlobalIds.BEGIN_TIME_ARC ) ).sendKeys( "8:00 AM" );
-        driver.findElement( By.id( GlobalIds.END_TIME_ARC ) ).clear();
-        driver.findElement( By.id( GlobalIds.END_TIME_ARC ) ).sendKeys( "5:00 PM" );
-        driver.findElement( By.id( GlobalIds.BEGIN_DATE_ARC ) ).clear();
-        driver.findElement( By.id( GlobalIds.BEGIN_DATE_ARC ) ).sendKeys( "1/1/2013" );
-        driver.findElement( By.id( GlobalIds.END_DATE_ARC ) ).clear();
-        driver.findElement( By.id( GlobalIds.END_DATE_ARC ) ).sendKeys( "1/1/2099" );
-        driver.findElement( By.id( GlobalIds.BEGIN_LOCK_DATE_ARC ) ).clear();
-        driver.findElement( By.id( GlobalIds.BEGIN_LOCK_DATE_ARC ) ).sendKeys( "6/1/2013" );
-        driver.findElement( By.id( GlobalIds.END_LOCK_DATE_ARC ) ).clear();
-        driver.findElement( By.id( GlobalIds.END_LOCK_DATE_ARC ) ).sendKeys( "6/15/2013" );
-        driver.findElement( By.id( GlobalIds.TIMEOUT_ARC ) ).clear();
-        driver.findElement( By.id( GlobalIds.TIMEOUT_ARC ) ).sendKeys( "180" );
-        driver.findElement( By.id( GlobalIds.MONDAY_ARC ) ).click();
-        driver.findElement( By.id( GlobalIds.TUESDAY_ARC ) ).click();
-        driver.findElement( By.id( GlobalIds.WEDNESDAY_ARC ) ).click();
-        driver.findElement( By.id( GlobalIds.THURSDAY_ARC ) ).click();
-        driver.findElement( By.id( GlobalIds.FRIDAY_ARC ) ).click();
-        driver.findElement( By.name( GlobalIds.ASSIGN_ADMIN_ROLE ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.id( "adminRoleAssignmentsLabel" ) ).click();
-        driver.findElement( By.name( "adminRoles.search" ) ).click();
-        TUtils.sleep( 2 );
-        driver.findElement( By.linkText( ">" ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.linkText( ">" ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.linkText( GlobalIds.SELECT ) ).click();
-        TUtils.sleep( 2 );
-        driver.findElement( By.name( GlobalIds.ASSIGN_ADMIN_ROLE ) ).click();
-        TUtils.sleep( 2 );
-        driver.findElement( By.id( "contactInformationLabel" ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.id( GlobalIds.DESCRIPTION ) ).clear();
-        driver.findElement( By.id( GlobalIds.DESCRIPTION ) ).sendKeys( "Selenium Test User" );
-        driver.findElement( By.id( GlobalIds.EMPLOYEE_TYPE ) ).clear();
-        driver.findElement( By.id( GlobalIds.EMPLOYEE_TYPE ) ).sendKeys( "Test User" );
-        driver.findElement( By.id( GlobalIds.TITLE ) ).clear();
-        driver.findElement( By.id( GlobalIds.TITLE ) ).sendKeys( "TestUser" );
-        ( ( JavascriptExecutor ) driver ).executeScript( "$(document.getElementById('emails')).show();" );
-        driver.findElement( By.id( GlobalIds.EMAILS ) ).clear();
-        driver.findElement( By.id( GlobalIds.EMAILS ) ).sendKeys( "joeuser@selenium.com" );
-        ( ( JavascriptExecutor ) driver ).executeScript( "$(document.getElementById('phones')).show();" );
-        driver.findElement( By.id( GlobalIds.PHONES ) ).clear();
-        driver.findElement( By.id( GlobalIds.PHONES ) ).sendKeys( "555-555-5555" );
-        ( ( JavascriptExecutor ) driver ).executeScript( "$(document.getElementById('mobiles')).show();" );
-        driver.findElement( By.id( GlobalIds.MOBILES ) ).clear();
-        driver.findElement( By.id( GlobalIds.MOBILES ) ).sendKeys( "222-222-2222" );
-        driver.findElement( By.id( GlobalIds.ADDRESS_ASSIGNMENTS_LABEL ) ).click();
-        TUtils.sleep( 1 );
-        ( ( JavascriptExecutor ) driver ).executeScript( "$(document.getElementById('addresses')).show();" );
-        driver.findElement( By.id( GlobalIds.ADDRESSES ) ).clear();
-        driver.findElement( By.id( GlobalIds.ADDRESSES ) ).sendKeys( "9 Vantage Pt" );
-        driver.findElement( By.id( GlobalIds.ADDRESS_CITY ) ).clear();
-        driver.findElement( By.id( GlobalIds.ADDRESS_CITY ) ).sendKeys( "Maumelle" );
-        driver.findElement( By.id( GlobalIds.ADDRESS_STATE ) ).clear();
-        driver.findElement( By.id( GlobalIds.ADDRESS_STATE ) ).sendKeys( "AR" );
-        driver.findElement( By.id( GlobalIds.ADDRESS_COUNTRY ) ).clear();
-        driver.findElement( By.id( GlobalIds.ADDRESS_COUNTRY ) ).sendKeys( "US" );
-        driver.findElement( By.id( GlobalIds.ADDRESS_POSTAL_CODE ) ).clear();
-        driver.findElement( By.id( GlobalIds.ADDRESS_POSTAL_CODE ) ).sendKeys( "72113" );
-        driver.findElement( By.id( GlobalIds.ADDRESS_POST_OFFICE_BOX ) ).clear();
-        driver.findElement( By.id( GlobalIds.ADDRESS_POST_OFFICE_BOX ) ).sendKeys( "422" );
-        driver.findElement( By.id( GlobalIds.ADDRESS_BUILDING ) ).clear();
-        driver.findElement( By.id( GlobalIds.ADDRESS_BUILDING ) ).sendKeys( "2929" );
-        driver.findElement( By.id( GlobalIds.ADDRESS_DEPARTMENT_NUMBER ) ).clear();
-        driver.findElement( By.id( GlobalIds.ADDRESS_DEPARTMENT_NUMBER ) ).sendKeys( "2222" );
-        driver.findElement( By.id( GlobalIds.ADDRESS_ROOM_NUMBER ) ).clear();
-        driver.findElement( By.id( GlobalIds.ADDRESS_ROOM_NUMBER ) ).sendKeys( "555" );
-        driver.findElement( By.id( GlobalIds.TEMPORAL_CONSTRAINTS_LABEL ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.id( GlobalIds.BEGIN_TIME_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.BEGIN_TIME_P ) ).sendKeys( "8:00 AM" );
-        driver.findElement( By.id( GlobalIds.END_TIME_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.END_TIME_P ) ).sendKeys( "5:00 PM" );
-        driver.findElement( By.id( GlobalIds.BEGIN_DATE_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.BEGIN_DATE_P ) ).sendKeys( "1/1/2013" );
-        driver.findElement( By.id( GlobalIds.END_DATE_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.END_DATE_P ) ).sendKeys( "1/1/2099" );
-        driver.findElement( By.id( GlobalIds.BEGIN_LOCK_DATE_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.BEGIN_LOCK_DATE_P ) ).sendKeys( "6/1/2013" );
-        driver.findElement( By.id( GlobalIds.END_LOCK_DATE_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.END_LOCK_DATE_P ) ).sendKeys( "6/15/2013" );
-        driver.findElement( By.id( GlobalIds.TIMEOUT_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.TIMEOUT_P ) ).sendKeys( "0" );
-        driver.findElement( By.id( GlobalIds.SUNDAY_P ) ).click();
-        driver.findElement( By.id( GlobalIds.MONDAY_P ) ).click();
-        driver.findElement( By.id( GlobalIds.TUESDAY_P ) ).click();
-        driver.findElement( By.id( GlobalIds.WEDNESDAY_P ) ).click();
-        driver.findElement( By.id( GlobalIds.THURSDAY_P ) ).click();
-        driver.findElement( By.id( GlobalIds.FRIDAY_P ) ).click();
-        driver.findElement( By.id( GlobalIds.SATURDAY_P ) ).click();
-        driver.findElement( By.id( GlobalIds.SYSTEM_INFO_LABEL ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.id( GlobalIds.SYSTEM ) ).click();
-        driver.findElement( By.id( GlobalIds.CN ) ).clear();
-        driver.findElement( By.id( GlobalIds.CN ) ).sendKeys( "Firstname Lastname" );
-        driver.findElement( By.id( GlobalIds.SN ) ).clear();
-        driver.findElement( By.id( GlobalIds.SN ) ).sendKeys( "Lastname" );
-        driver.findElement( By.id( GlobalIds.IMPORT_PHOTO_LABEL ) ).click();
-        TUtils.sleep( 1 );
-        WebElement element = driver.findElement( By.name( "upload" ) );
-        LocalFileDetector detector = new LocalFileDetector();
-        String path = "./src/test/resources/p1.jpeg";
-        File f = detector.getLocalFile( path );
-        element.sendKeys( f.getAbsolutePath() );
-        driver.findElement( By.name( GlobalIds.SAVE ) ).click();
-        TUtils.sleep( 3 );
-        driver.findElement( By.name( GlobalIds.COMMIT ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.id( GlobalIds.IMPORT_PHOTO_LABEL ) ).click();
-        TUtils.sleep( 2 );
-        driver.findElement( By.name( GlobalIds.DELETE ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.id( GlobalIds.SYSTEM_INFO_LABEL ) ).click();
-        driver.findElement( By.id( GlobalIds.SYSTEM ) ).click();
-        driver.findElement( By.name( GlobalIds.COMMIT ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.name( GlobalIds.DELETE ) ).click();
-        TUtils.sleep( 1 );
-    }
-
-    private void roles()
-    {
-        driver.findElement( By.linkText( "ROLES" ) ).click();
-        driver.findElement( By.id( GlobalIds.SEARCH_VAL ) ).clear();
-        driver.findElement( By.id( GlobalIds.SEARCH_VAL ) ).sendKeys( "oamt13" );
-        driver.findElement( By.name( GlobalIds.SEARCH ) ).click();
-        driver.findElement( By.id( GlobalIds.NAME ) ).clear();
-        driver.findElement( By.id( GlobalIds.NAME ) ).sendKeys( "SelTestRole" );
-        driver.findElement( By.id( GlobalIds.DESCRIPTION ) ).clear();
-        driver.findElement( By.id( GlobalIds.DESCRIPTION ) ).sendKeys( "Selenium Test Role" );
-        driver.findElement( By.name( GlobalIds.PARENTROLES_SEARCH ) ).click();
-        TUtils.sleep( 2 );
-        driver.findElement( By.linkText( ">" ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.linkText( ">" ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.linkText( GlobalIds.SELECT ) ).click();
-        TUtils.sleep( 2 );
-        driver.findElement( By.name( GlobalIds.ADD ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.id( GlobalIds.TEMPORAL_CONSTRAINTS_LABEL ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.id( GlobalIds.BEGIN_TIME_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.BEGIN_TIME_P ) ).sendKeys( "8:00 AM" );
-        driver.findElement( By.id( GlobalIds.END_TIME_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.END_TIME_P ) ).sendKeys( "5:00 PM" );
-        driver.findElement( By.id( GlobalIds.BEGIN_DATE_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.BEGIN_DATE_P ) ).sendKeys( "1/1/2013" );
-        driver.findElement( By.id( GlobalIds.END_DATE_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.END_DATE_P ) ).sendKeys( "1/1/2099" );
-        driver.findElement( By.id( GlobalIds.BEGIN_LOCK_DATE_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.BEGIN_LOCK_DATE_P ) ).sendKeys( "6/1/2013" );
-        driver.findElement( By.id( GlobalIds.END_LOCK_DATE_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.END_LOCK_DATE_P ) ).sendKeys( "6/15/2013" );
-        driver.findElement( By.id( GlobalIds.TIMEOUT_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.TIMEOUT_P ) ).sendKeys( "0" );
-        driver.findElement( By.id( GlobalIds.SUNDAY_P ) ).click();
-        driver.findElement( By.id( GlobalIds.MONDAY_P ) ).click();
-        driver.findElement( By.id( GlobalIds.TUESDAY_P ) ).click();
-        driver.findElement( By.id( GlobalIds.WEDNESDAY_P ) ).click();
-        driver.findElement( By.id( GlobalIds.THURSDAY_P ) ).click();
-        driver.findElement( By.id( GlobalIds.FRIDAY_P ) ).click();
-        driver.findElement( By.id( GlobalIds.SATURDAY_P ) ).click();
-        driver.findElement( By.name( GlobalIds.COMMIT ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.name( GlobalIds.DELETE ) ).click();
-        TUtils.sleep( 1 );
-    }
-
-    private void pobjs()
-    {
-        driver.findElement( By.linkText( "POBJS" ) ).click();
-        driver.findElement( By.id( GlobalIds.SEARCH_VAL ) ).sendKeys( "t" );
-        driver.findElement( By.name( GlobalIds.SEARCH ) ).click();
-        TUtils.sleep( 1 );
-    }
-
-    private void perms()
-    {
-        driver.findElement( By.linkText( "PERMS" ) ).click();
-        driver.findElement( By.id( "permObject" ) ).sendKeys( "/cal" );
-        driver.findElement( By.name( GlobalIds.SEARCH ) ).click();
-        TUtils.sleep( 1 );
-    }
-
-    private void ssds()
-    {
-        driver.findElement( By.linkText( "SSDS" ) ).click();
-        driver.findElement( By.id( "roleRb" ) ).click();
-        driver.findElement( By.id( GlobalIds.SEARCH_VAL ) ).sendKeys( "oamT16SDR6" );
-        driver.findElement( By.name( GlobalIds.SEARCH ) ).click();
-        TUtils.sleep( 1 );
-    }
-
-    private void dsds()
-    {
-        driver.findElement( By.linkText( "DSDS" ) ).click();
-        driver.findElement( By.id( "roleRb" ) ).click();
-        driver.findElement( By.id( GlobalIds.SEARCH_VAL ) ).sendKeys( "oamT13DSD6" );
-        driver.findElement( By.name( GlobalIds.SEARCH ) ).click();
-        TUtils.sleep( 1 );
-    }
-
-    private void ouusers()
-    {
-        driver.findElement( By.linkText( "OUSERS" ) ).click();
-        driver.findElement( By.id( GlobalIds.SEARCH_VAL ) ).sendKeys( "d" );
-        driver.findElement( By.name( GlobalIds.SEARCH ) ).click();
-        TUtils.sleep( 1 );
-    }
-
-    private void ouperms()
-    {
-        driver.findElement( By.linkText( "OUPRMS" ) ).click();
-        driver.findElement( By.id( GlobalIds.SEARCH_VAL ) ).sendKeys( "a" );
-        driver.findElement( By.name( GlobalIds.SEARCH ) ).click();
-    }
-
-    private void admrles()
-    {
-        TUtils.sleep( 1 );
-        driver.findElement( By.linkText( "ADMRLES" ) ).click();
-        driver.findElement( By.id( GlobalIds.SEARCH_VAL ) ).clear();
-        driver.findElement( By.id( GlobalIds.SEARCH_VAL ) ).sendKeys( "t" );
-        driver.findElement( By.name( GlobalIds.SEARCH ) ).click();
-        driver.findElement( By.id( GlobalIds.NAME ) ).clear();
-        driver.findElement( By.id( GlobalIds.NAME ) ).sendKeys( "SelTestAdminRole" );
-        driver.findElement( By.id( GlobalIds.DESCRIPTION ) ).clear();
-        driver.findElement( By.id( GlobalIds.DESCRIPTION ) ).sendKeys( "Selenium Test Admin Role" );
-        driver.findElement( By.name( GlobalIds.PARENTROLES_SEARCH ) ).click();
-        TUtils.sleep( 2 );
-        driver.findElement( By.linkText( ">" ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.linkText( ">" ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.linkText( GlobalIds.SELECT ) ).click();
-        TUtils.sleep( 2 );
-        // DELEGATION DETAILS:
-        driver.findElement( By.name( GlobalIds.ROLEAUXPANEL + ":" + GlobalIds.USEROU_SEARCH ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.linkText( GlobalIds.SELECT ) ).click();
-        driver.findElement( By.name( GlobalIds.ROLEAUXPANEL + ":" + GlobalIds.PERMOU_SEARCH ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.linkText( GlobalIds.SELECT ) ).click();
-        driver.findElement( By.id( GlobalIds.BEGIN_RANGE ) ).clear();
-        driver.findElement( By.id( GlobalIds.BEGIN_RANGE ) ).sendKeys( "oamT6D" );
-        driver.findElement( By.name( GlobalIds.ROLEAUXPANEL + ":" + GlobalIds.BEGIN_RANGE_SEARCH ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.linkText( GlobalIds.SELECT ) ).click();
-        driver.findElement( By.name( GlobalIds.ROLEAUXPANEL + ":" + GlobalIds.BEGIN_INCLUSIVE ) ).click();
-        driver.findElement( By.name( GlobalIds.ROLEAUXPANEL + ":" + GlobalIds.END_RANGE_SEARCH ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.linkText( GlobalIds.SELECT ) ).click();
-        driver.findElement( By.name( GlobalIds.ROLEAUXPANEL + ":" + GlobalIds.END_INCLUSIVE ) ).click();
-        driver.findElement( By.name( GlobalIds.ADD ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.id( GlobalIds.TEMPORAL_CONSTRAINTS_LABEL ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.id( GlobalIds.BEGIN_TIME_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.BEGIN_TIME_P ) ).sendKeys( "8:00 AM" );
-        driver.findElement( By.id( GlobalIds.END_TIME_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.END_TIME_P ) ).sendKeys( "5:00 PM" );
-        driver.findElement( By.id( GlobalIds.BEGIN_DATE_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.BEGIN_DATE_P ) ).sendKeys( "1/1/2013" );
-        driver.findElement( By.id( GlobalIds.END_DATE_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.END_DATE_P ) ).sendKeys( "1/1/2099" );
-        driver.findElement( By.id( GlobalIds.BEGIN_LOCK_DATE_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.BEGIN_LOCK_DATE_P ) ).sendKeys( "6/1/2013" );
-        driver.findElement( By.id( GlobalIds.END_LOCK_DATE_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.END_LOCK_DATE_P ) ).sendKeys( "6/15/2013" );
-        driver.findElement( By.id( GlobalIds.TIMEOUT_P ) ).clear();
-        driver.findElement( By.id( GlobalIds.TIMEOUT_P ) ).sendKeys( "0" );
-        driver.findElement( By.id( GlobalIds.SUNDAY_P ) ).click();
-        driver.findElement( By.id( GlobalIds.MONDAY_P ) ).click();
-        driver.findElement( By.id( GlobalIds.TUESDAY_P ) ).click();
-        driver.findElement( By.id( GlobalIds.WEDNESDAY_P ) ).click();
-        driver.findElement( By.id( GlobalIds.THURSDAY_P ) ).click();
-        driver.findElement( By.id( GlobalIds.FRIDAY_P ) ).click();
-        driver.findElement( By.id( GlobalIds.SATURDAY_P ) ).click();
-        driver.findElement( By.name( GlobalIds.COMMIT ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.name( GlobalIds.DELETE ) ).click();
-        TUtils.sleep( 1 );
-    }
-
-    private void admobjs()
-    {
-        driver.findElement( By.linkText( "ADMOBJS" ) ).click();
-        driver.findElement( By.id( GlobalIds.SEARCH_VAL ) ).sendKeys( "u" );
-        driver.findElement( By.name( GlobalIds.SEARCH ) ).click();
-        TUtils.sleep( 1 );
-    }
-
-    private void admperms()
-    {
-        driver.findElement( By.linkText( "ADMPERMS" ) ).click();
-        driver.findElement( By.id( "objectAssignLinkLbl" ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.linkText( GlobalIds.SELECT ) ).click();
-        driver.findElement( By.name( GlobalIds.SEARCH ) ).click();
-        TUtils.sleep( 1 );
-    }
-
-    private void plcys()
-    {
-        driver.findElement( By.linkText( "PLCYS" ) ).click();
-        driver.findElement( By.id( GlobalIds.SEARCH_VAL ) ).sendKeys( "oamtp1policy" );
-        driver.findElement( By.name( GlobalIds.SEARCH ) ).click();
-        TUtils.sleep( 1 );
-    }
-
-    private void groups()
-    {
-        driver.findElement( By.linkText( "GROUPS" ) ).click();
-        driver.findElement( By.id( "searchVal" ) ).sendKeys( "t" );
-        driver.findElement( By.name( GlobalIds.SEARCH ) ).click();
-        TUtils.sleep( 1 );
-        TUtils.sleep( 1 );
-        WebElement table = driver.findElement(By.id("grouptreegrid"));
-        List<WebElement> allRows = table.findElements(By.tagName("tr"));
-        allRows.get( 4 ).findElement(By.className("imxt-cell")).click();
-        TUtils.sleep( 1 );
-        allRows.get( 5 ).findElement(By.className("imxt-cell")).click();
-        TUtils.sleep( 1 );
-        allRows.get( 6 ).findElement(By.className("imxt-cell")).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.name( GlobalIds.CLEAR ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.id( GlobalIds.NAME ) ).sendKeys( "selGroup1" );
-        driver.findElement( By.id( GlobalIds.DESCRIPTION ) ).clear();
-        driver.findElement( By.id( GlobalIds.DESCRIPTION ) ).sendKeys( "Selenium Test Create Group Node" );
-        driver.findElement( By.id( "protocol" ) ).clear();
-        driver.findElement( By.id( "protocol" ) ).sendKeys( "test" );
-        driver.findElement( By.id( "memberProps" ) ).clear();
-        driver.findElement( By.id( "memberProps" ) ).sendKeys( "testKey1=testVal1" );
-
-        driver.findElement( By.name( "members.search" ) ).click();
-        TUtils.sleep( 2 );
-        driver.findElement( By.linkText( ">" ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.linkText( GlobalIds.SELECT ) ).click();
-        TUtils.sleep( 1 );
-        driver.findElement( By.name( GlobalIds.ADD ) ).click();
-        TUtils.sleep( 1 );
-    }
-
-    private void binds()
-    {
-        driver.findElement( By.linkText( "BINDS" ) ).click();
-        driver.findElement( By.id( GlobalIds.USER_ID ) ).clear();
-        driver.findElement( By.id( GlobalIds.USER_ID ) ).sendKeys( "jtsuser1" );
-        driver.findElement( By.name( GlobalIds.SEARCH ) ).click();
-        TUtils.sleep( 1 );
-        WebElement table = driver.findElement(By.id("bindtreegrid"));
-        // Now get all the TR elements from the table
-        List<WebElement> allRows = table.findElements(By.tagName("tr"));
-        // And iterate over them, getting the cells
-        allRows.get( 4 ).findElement(By.className("imxt-cell")).click();
-        TUtils.sleep( 1 );
-        allRows.get( 5 ).findElement(By.className("imxt-cell")).click();
-        TUtils.sleep( 1 );
-        allRows.get( 6 ).findElement(By.className("imxt-cell")).click();
-        TUtils.sleep( 1 );
-    }
-
-    private void authzs()
-    {
-        driver.findElement( By.linkText( "AUTHZ" ) ).click();
-        driver.findElement( By.id( GlobalIds.OBJ_NAME ) ).clear();
-        driver.findElement( By.id( GlobalIds.OBJ_NAME ) ).sendKeys( "org.openldap.fortress.rbac.AdminMgrImpl" );
-        driver.findElement( By.name( "admin" ) ).click();
-        driver.findElement( By.id( "permLinkLbl" ) ).click();
-        TUtils.sleep( 1 );
-        //driver.findElement( By.linkText( "6" ) ).click();
-        driver.findElement( By.linkText( GlobalIds.SELECT ) ).click();
-        driver.findElement( By.name( GlobalIds.SEARCH ) ).click();
-        TUtils.sleep( 1 );
-        WebElement table = driver.findElement(By.id("authztreegrid"));
-        // Now get all the TR elements from the table
-        List<WebElement> allRows = table.findElements(By.tagName("tr"));
-        // And iterate over them, getting the cells
-        allRows.get( 4 ).findElement(By.className("imxt-cell")).click();
-        TUtils.sleep( 1 );
-        allRows.get( 5 ).findElement(By.className("imxt-cell")).click();
-        TUtils.sleep( 1 );
-        allRows.get( 6 ).findElement(By.className("imxt-cell")).click();
-        TUtils.sleep( 1 );
-    }
-
-    private void mods()
-    {
-        driver.findElement( By.linkText( "MODS" ) ).click();
-        driver.findElement( By.id( GlobalIds.USER_ID ) ).clear();
-        driver.findElement( By.id( GlobalIds.USER_ID ) ).sendKeys( "test" );
-        driver.findElement( By.name( GlobalIds.SEARCH ) ).click();
-        TUtils.sleep( 5 );
-        WebElement table = driver.findElement(By.id("modtreegrid"));
-        // Now get all the TR elements from the table
-        List<WebElement> allRows = table.findElements(By.tagName("tr"));
-        // And iterate over them, getting the cells
-        allRows.get( 5 ).findElement(By.className("imxt-cell")).click();
-        TUtils.sleep( 1 );
-        nextPage(table, "modstable");
-        TUtils.sleep( 1 );
-        allRows.get( 6 ).findElement(By.className("imxt-cell")).click();
-        TUtils.sleep( 1 );
-        nextPage(table, "modstable");
-        TUtils.sleep( 1 );
-    }
-
-    private void nextPage(WebElement table, String szTableName)
-    {
-        table = driver.findElement(By.id( szTableName));
-        List<WebElement> allRows = table.findElements(By.tagName("a"));
-        for (WebElement row : allRows)
-        {
-            String szText = row.getText();
-            if(szText.equals( "Go to the next page" ))
-                row.click();
-            log.debug( "row text=" + row.getText());
-        }
-    }
-
-    @After
-    public void tearDown() throws Exception
-    {
-        driver.quit();
-        String verificationErrorString = verificationErrors.toString();
-        if ( !"".equals( verificationErrorString ) )
-        {
-            fail( verificationErrorString );
-        }
-    }
-
-    private boolean isElementPresent( By by )
-    {
-        try
-        {
-            driver.findElement( by );
-            return true;
-        }
-        catch ( NoSuchElementException e )
-        {
-            return false;
-        }
-    }
-
-    private boolean isAlertPresent()
-    {
-        try
-        {
-            driver.switchTo().alert();
-            return true;
-        }
-        catch ( NoAlertPresentException e )
-        {
-            return false;
-        }
-    }
-
-    private String closeAlertAndGetItsText()
-    {
-        try
-        {
-            Alert alert = driver.switchTo().alert();
-            String alertText = alert.getText();
-            if ( acceptNextAlert )
-            {
-                alert.accept();
-            }
-            else
-            {
-                alert.dismiss();
-            }
-            return alertText;
-        }
-        finally
-        {
-            acceptNextAlert = true;
-        }
-    }
-
-    // Warning: verifyTextPresent may require manual changes
-        /*
-                try
-                {
-                    assertTrue(driver.findElement(By.cssSelector("BODY")).getText().matches("^[\\s\\S]*Commander Web
-                    Admin[\\s\\S]*$"));
-                }
-                catch ( Error e )
-                {
-                    verificationErrors.append( e.toString() );
-                }
-        */
-    // Warning: verifyTextPresent may require manual changes
-        /*
-                try
-                {
-                    assertTrue(driver.findElement(By.cssSelector("BODY")).getText().matches
-                    ("^[\\s\\S]*UserAdministration[\\s\\S]*$"));
-                }
-                catch ( Error e )
-                {
-                    verificationErrors.append( e.toString() );
-                }
-                // Warning: verifyTextPresent may require manual changes
-                try
-                {
-                    assertTrue( driver.findElement( By.cssSelector( "BODY" ) ).getText().matches(
-                        "^[\\s\\S]*jtsTU16User7[\\s\\S]*$" ) );
-                }
-                catch ( Error e )
-                {
-                    verificationErrors.append( e.toString() );
-                }
-        */
-/*
-            table = driver.findElement(By.id( "modstable"));
-            allRows = table.findElements(By.tagName("a"));
-            for (WebElement row : allRows)
-            {
-                String szText = row.getText();
-                if(szText.equals( "Go to the next page" ))
-                    row.click();
-                log.info( "row text=" + row.getText());
-            }
-            TUtils.sleep( 1 );
-*/
-            //table = driver.findElement(By.className( "k-link"));
-            //driver.findElement( By.className( "k-link" ) ).click();
-            //driver.findElement( By.className( "k-icon k-i-arrow-e" ) ).click();
-            //a.k-link:nth-child(4) > span:nth-child(1)
-            //TUtils.sleep( 1 );
-            //driver.findElement( By.className( "k-link" ) ).click();
-            //TUtils.sleep( 1 );
-            //driver.findElement( By.className( "k-link" ) ).click();
-            //TUtils.sleep( 1 );
-/*
-            allRows.get( 6 ).findElement(By.className("imxt-cell")).click();
-            TUtils.sleep( 1 );
-            allRows.get( 7 ).findElement(By.className("imxt-cell")).click();
-*/
-    /*
-                for(WebElement row : allRows)
-                {
-                    if(rowctr++ < 5)
-                        continue;
-
-                    row.findElement(By.className("imxt-cell")).click();
-                    TUtils.sleep( 3 );
-                    //driver.findElement(By.className("imxt-cell")).click();
-                }
-    */
-    /*
-                for (WebElement row : allRows)
-                {
-                    rowctr++;
-                    //List<WebElement> cells = row.findElements(By.tagName("td"));
-
-                    if(rowctr < 5)
-                        continue;
-
-                    List<WebElement> cells = row.findElements(By.className("imxt-cell"));
-                    driver.findElement(By.className("imxt-cell")).click();
-    */
-                    //List<WebElement> cells = row.findElements(By.className("imxt-cell"));
-
-                    //List<WebElement> cells = row.findElements(By.className("imxt-a-imxt-nowrap"));
-                    //*[@id="body35_1"]/td[1]/div
-    /*
-                    int cellctr = 0;
-                    for (WebElement cell : cells)
-                    {
-                        cellctr++;
-                        //log.info( "Cell[" + rowctr + "][" + cellctr + "]: " + cell.toString() );
-                        //log.info( "cell tagname: " + cell.getTagName());
-                        //String td = cell.getAttribute( "td" );
-                        String td = cell.getText();
-                        //String innerText = driver.findElement(By.xpath(".//div")).getText();
-                        //String innerText = driver.findElement(By.className("imxt-cell")).getText();
-                        log.info( "intext[" + rowctr + "][" + cellctr + "] td value:" + td);
-
-                        //List<WebElement> cells2 = cell.findElements(By.className("imxt-cell"));
-                        // "imxt-cell"
-                        ///*/
-    /*[@id="body35_1"]/td[1]
-                     }
-    */
-                    //List<WebElement> cells = row.findElements(By.xpath(".//*[@id=\"*\"]/td[2]/div"));
-                    //List<WebElement> cells = row.findElements(By.xpath("//table/tbody/tr[" + rowctr + "/td[1]"));
-                    //String innerText = driver.findElement(By.xpath("//table/tbody/tr[" + rowctr + "]/td[1]")).getText();
-                    //List<WebElement> cells = row.findElements(By.xpath(".//td[1]"));
-                    //log.info( "intext[" + rowctr + ":" + innerText);
-
-                    ////*[@id="body35_9"]
-                    //<div class="imxt-a imxt-nowrap">demoUser10</div>
-    /*
-                    int cellctr = 0;
-                    for (WebElement cell : cells)
-                    {
-                        cellctr++;
-                        log.info( "Cell[" + rowctr + "][" + cellctr + "]: " + cell.toString() );
-                        log.info( "cell tagname: " + cell.getTagName());
-                     }
-    */
-    //            }
-
-                //List<WebElement> cells = row.findElements(By.xpath(".//*[local-name(.)='th' or local-name(.)='td']"));
-                //TUtils.sleep( 1 );
-                //( ( JavascriptExecutor ) driver ).executeScript( "document.getElementById('usertreegrid').focus();" );
-    /*
-                ( ( JavascriptExecutor ) driver ).executeScript( "$(document.getElementById('adminRoles')).val" +
-                    "('DemoAdminUsers');" );
-    */
-}

http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/blob/547b9ccd/src/test/java/org/openldap/commander/integration/TUtils.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/openldap/commander/integration/TUtils.java b/src/test/java/org/openldap/commander/integration/TUtils.java
deleted file mode 100644
index 4c67d7d..0000000
--- a/src/test/java/org/openldap/commander/integration/TUtils.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- * Copyright (c) 2009-2014, JoshuaTree. All Rights Reserved.
- */
-
-package org.openldap.commander.integration;
-
-
-import java.io.File;
-import java.io.IOException;
-import java.net.URISyntaxException;
-import java.net.URL;
-
-import junit.framework.TestCase;
-
-import org.apache.commons.io.FileUtils;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import org.openldap.fortress.GlobalIds;
-import org.openldap.fortress.util.LogUtil;
-import org.openldap.fortress.util.attr.VUtil;
-
-
-/**
- * Description of the Class
- *
- * @author Shawn McKinney
- */
-public class TUtils extends TestCase
-{
-    private static final String CLS_NM = TUtils.class.getName();
-    private static final Logger LOG = LoggerFactory.getLogger( CLS_NM );
-
-    /**
-     * Fortress stores complex attribute types within a single attribute in ldap.  Usually a delimiter of ',' is used for string tokenization.
-     * format: {@code name:value}
-     */
-    public static final String DELIMITER_TEST_DATA = ",";
-
-    public static byte[] readJpegFile( String fileName )
-    {
-        URL fUrl = TUtils.class.getClassLoader().getResource( fileName );
-        byte[] image = null;
-        try
-        {
-            if ( fUrl != null )
-            {
-                image = FileUtils.readFileToByteArray( new File( fUrl.toURI() ) );
-            }
-        }
-        catch ( URISyntaxException se )
-        {
-            String error = "readJpegFile caught URISyntaxException=" + se;
-            LOG.error( error );
-        }
-        catch ( IOException ioe )
-        {
-            String error = "readJpegFile caught IOException=" + ioe;
-            LOG.error( error );
-        }
-        return image;
-    }
-
-
-    /**
-     *
-     * @param len
-     */
-    public static void sleep( String len )
-    {
-        try
-        {
-            Integer iSleep = ( Integer.parseInt( len ) * 1000 );
-            Thread.currentThread().sleep( iSleep );
-        }
-        catch ( InterruptedException ie )
-        {
-            LOG.warn( TUtils.class.getName() + ".sleep caught InterruptedException=" + ie.getMessage(), ie );
-        }
-    }
-
-
-    /**
-     *
-     * @param len
-     */
-    public static void sleep( int len )
-    {
-        try
-        {
-            int iSleep = len * 1000;
-            Thread.currentThread().sleep( iSleep );
-        }
-        catch ( InterruptedException ie )
-        {
-            LOG.warn( TUtils.class.getName() + ".sleep caught InterruptedException=" + ie.getMessage(), ie );
-        }
-    }
-
-
-    /**
-     *
-     * @param len
-     */
-    public static void sleep( long len )
-    {
-        try
-        {
-            long iSleep = len * 1000;
-             Thread.currentThread().sleep( iSleep );
-        }
-        catch ( InterruptedException ie )
-        {
-            LOG.warn( TUtils.class.getName() + ".sleep caught InterruptedException=" + ie.getMessage(), ie );
-        }
-    }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/blob/547b9ccd/src/test/resources/TestCase1
----------------------------------------------------------------------
diff --git a/src/test/resources/TestCase1 b/src/test/resources/TestCase1
deleted file mode 100644
index 42150af..0000000
--- a/src/test/resources/TestCase1
+++ /dev/null
@@ -1,506 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head profile="http://selenium-ide.openqa.org/profiles/test-case">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<link rel="selenium.base" href="http://test:test@localhost:8081/rbac" />
-<title>TestCase1</title>
-</head>
-<body>
-<table cellpadding="1" cellspacing="1" border="1">
-<thead>
-<tr><td rowspan="1" colspan="3">TestCase1</td></tr>
-</thead><tbody>
-<tr>
-	<td>open</td>
-	<td>/rbac</td>
-	<td>http://test:test@localhost:8081</td>
-</tr>
-<tr>
-	<td>verifyTextPresent</td>
-	<td>Commander Web Admin</td>
-	<td></td>
-</tr>
-<tr>
-	<td>clickAndWait</td>
-	<td>link=Launch Page</td>
-	<td></td>
-</tr>
-<tr>
-	<td>clickAndWait</td>
-	<td>link=USERS</td>
-	<td></td>
-</tr>
-<tr>
-	<td>verifyTextPresent</td>
-	<td>User Administration</td>
-	<td></td>
-</tr>
-<tr>
-	<td>verifyTextPresent</td>
-	<td>jtsTU16User7</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=roleRb</td>
-	<td></td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=searchVal</td>
-	<td>role1</td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>name=search</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>name=clear</td>
-	<td></td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=userId</td>
-	<td>selTestU1</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=pswdField</td>
-	<td>password</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=ou</td>
-	<td>dev1</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=pwPolicy</td>
-	<td>test1</td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>name=add</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=roleAssignmentsLabel</td>
-	<td></td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=roles</td>
-	<td>role1</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=beginTimeRC</td>
-	<td>8:00 AM</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=endTimeRC</td>
-	<td>5:00 PM</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=beginDateRC</td>
-	<td>1/1/2013</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=endDateRC</td>
-	<td>1/1/2099</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=beginLockDateRC</td>
-	<td>6/1/2013</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=endLockDateRC</td>
-	<td>6/15/2013</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=timeoutRC</td>
-	<td>120</td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=sundayRC</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=mondayRC</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=tuesdayRC</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=wednesdayRC</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=thursdayRC</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=fridayRC</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=saturdayRC</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>name=assign</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=adminRoleAssignmentsLabel</td>
-	<td></td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=adminRoles</td>
-	<td>DemoAdminUsers</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=beginTimeARC</td>
-	<td>8:00 AM</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=endTimeARC</td>
-	<td>5:00 PM</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=beginDateARC</td>
-	<td>1/1/2013</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=endDateARC</td>
-	<td>1/1/2099</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=beginLockDateARC</td>
-	<td>6/1/2013</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=endLockDateARC</td>
-	<td>6/15/2013</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=timeoutARC</td>
-	<td>180</td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=mondayARC</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=tuesdayARC</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=wednesdayARC</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=thursdayARC</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=fridayARC</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>name=assignAdminRole</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=contactInformationLabel</td>
-	<td></td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=description</td>
-	<td>Selenium Test User</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=employeeType</td>
-	<td>Test User</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=title</td>
-	<td>TestUser</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=emails</td>
-	<td>joeuser@selenium.com</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=phones</td>
-	<td>555-555-5555</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=mobiles</td>
-	<td>222-222-2222</td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=addressAssignmentsLabel</td>
-	<td></td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=addresses</td>
-	<td>9 Vantage Pt</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=address.city</td>
-	<td>Maumelle</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=address.state</td>
-	<td>AR</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=address.country</td>
-	<td>US</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=address.postalCode</td>
-	<td>72113</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=address.postOfficeBox</td>
-	<td>422</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=address.building</td>
-	<td>2929</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=address.departmentNumber</td>
-	<td>2222</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=address.roomNumber</td>
-	<td>555</td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=temporalConstraintsLabel</td>
-	<td></td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=beginTimeP</td>
-	<td>8:00 AM</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=endTimeP</td>
-	<td>5:00 PM</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=beginDateP</td>
-	<td>1/1/2013</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=endDateP</td>
-	<td>1/1/2099</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=beginLockDateP</td>
-	<td>6/1/2013</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=endLockDateP</td>
-	<td>6/15/2013</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=timeoutP</td>
-	<td>0</td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=sundayP</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=mondayP</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=tuesdayP</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=wednesdayP</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=thursdayP</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=fridayP</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=saturdayP</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=systemInfoLabel</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=system</td>
-	<td></td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=cn</td>
-	<td>Firstname Lastname</td>
-</tr>
-<tr>
-	<td>type</td>
-	<td>id=sn</td>
-	<td>Lastname</td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=importPhotoLabel</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>name=upload</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>name=commit</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>name=delete</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=systemInfoLabel</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>id=system</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>name=commit</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>name=delete</td>
-	<td></td>
-</tr>
-<tr>
-	<td>clickAndWait</td>
-	<td>link=ROLES</td>
-	<td></td>
-</tr>
-<tr>
-	<td>clickAndWait</td>
-	<td>link=PERMS</td>
-	<td></td>
-</tr>
-<tr>
-	<td>clickAndWait</td>
-	<td>link=PWPOLICIES</td>
-	<td></td>
-</tr>
-<tr>
-	<td>clickAndWait</td>
-	<td>link=SSDS</td>
-	<td></td>
-</tr>
-<tr>
-	<td>clickAndWait</td>
-	<td>link=DSDS</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>link=LOGOUT</td>
-	<td></td>
-</tr>
-<tr>
-	<td>click</td>
-	<td>link=glob:search*</td>
-	<td></td>
-</tr>
-</tbody></table>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/blob/547b9ccd/src/test/resources/jetty-users.properties
----------------------------------------------------------------------
diff --git a/src/test/resources/jetty-users.properties b/src/test/resources/jetty-users.properties
index 8112d1a..d9f7ac8 100644
--- a/src/test/resources/jetty-users.properties
+++ b/src/test/resources/jetty-users.properties
@@ -1,22 +1,26 @@
 #
-# This work is part of OpenLDAP Software <http://www.openldap.org/>.
+#   Licensed to the Apache Software Foundation (ASF) under one
+#   or more contributor license agreements.  See the NOTICE file
+#   distributed with this work for additional information
+#   regarding copyright ownership.  The ASF licenses this file
+#   to you under the Apache License, Version 2.0 (the
+#   "License"); you may not use this file except in compliance
+#   with the License.  You may obtain a copy of the License at
 #
-# Copyright 1998-2014 The OpenLDAP Foundation.
-# All rights reserved.
+#     http://www.apache.org/licenses/LICENSE-2.0
 #
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted only as authorized by the OpenLDAP
-# Public License.
-#
-# A copy of this license is available in the file LICENSE in the
-# top-level directory of the distribution or, alternatively, at
-# <http://www.OpenLDAP.org/license.html>.
+#   Unless required by applicable law or agreed to in writing,
+#   software distributed under the License is distributed on an
+#   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#   KIND, either express or implied.  See the License for the
+#   specific language governing permissions and limitations
+#   under the License.
 #
 
-test: test,ROLE_ADMIN,ROLE_USERS,ROLE_ROLES,ROLE_PERMS,ROLE_SSDS,ROLE_DSDS,ROLE_POLICIES,ROLE_USEROUS,ROLE_PERMOUS,ROLE_PERMOBJS,ROLE_ADMINOBJS,ROLE_ADMINPERMS,ROLE_ADMINROLES,ROLE_AUDIT_AUTHZS,ROLE_AUDIT_MODS,ROLE_AUDIT_BINDS,ROLE_GROUPS
-foo1: test,ROLE_ADMIN,ROLE_USERS,ROLE_ROLES,ROLE_PERMS,ROLE_SSDS,ROLE_DSDS,ROLE_POLICIES,ROLE_USEROUS,ROLE_PERMOUS,ROLE_PERMOBJS,ROLE_ADMINOBJS,ROLE_ADMINPERMS,ROLE_ADMINROLES,ROLE_AUDIT_AUTHZS,ROLE_AUDIT_MODS,ROLE_AUDIT_BINDS
-foo2: test,ROLE_ADMIN,ROLE_USERS,ROLE_ROLES,ROLE_PERMS,ROLE_SSDS,ROLE_DSDS,ROLE_POLICIES,ROLE_USEROUS,ROLE_PERMOUS,ROLE_PERMOBJS,ROLE_ADMINOBJS,ROLE_ADMINPERMS,ROLE_ADMINROLES,ROLE_AUDIT_AUTHZS,ROLE_AUDIT_MODS,ROLE_AUDIT_BINDS
-foo3: test,ROLE_ADMIN,ROLE_USERS,ROLE_ROLES,ROLE_PERMS,ROLE_SSDS,ROLE_DSDS,ROLE_POLICIES,ROLE_USEROUS,ROLE_PERMOUS,ROLE_PERMOBJS,ROLE_ADMINOBJS,ROLE_ADMINPERMS,ROLE_ADMINROLES,ROLE_AUDIT_AUTHZS,ROLE_AUDIT_MODS,ROLE_AUDIT_BINDS
+test: password,ROLE_ADMIN,ROLE_USERS,ROLE_ROLES,ROLE_PERMS,ROLE_SSDS,ROLE_DSDS,ROLE_POLICIES,ROLE_USEROUS,ROLE_PERMOUS,ROLE_PERMOBJS,ROLE_ADMINOBJS,ROLE_ADMINPERMS,ROLE_ADMINROLES,ROLE_AUDIT_AUTHZS,ROLE_AUDIT_MODS,ROLE_AUDIT_BINDS,ROLE_GROUPS
+foo1: password,ROLE_ADMIN,ROLE_USERS,ROLE_ROLES,ROLE_PERMS,ROLE_SSDS,ROLE_DSDS,ROLE_POLICIES,ROLE_USEROUS,ROLE_PERMOUS,ROLE_PERMOBJS,ROLE_ADMINOBJS,ROLE_ADMINPERMS,ROLE_ADMINROLES,ROLE_AUDIT_AUTHZS,ROLE_AUDIT_MODS,ROLE_AUDIT_BINDS
+foo2: password,ROLE_ADMIN,ROLE_USERS,ROLE_ROLES,ROLE_PERMS,ROLE_SSDS,ROLE_DSDS,ROLE_POLICIES,ROLE_USEROUS,ROLE_PERMOUS,ROLE_PERMOBJS,ROLE_ADMINOBJS,ROLE_ADMINPERMS,ROLE_ADMINROLES,ROLE_AUDIT_AUTHZS,ROLE_AUDIT_MODS,ROLE_AUDIT_BINDS
+foo3: password,ROLE_ADMIN,ROLE_USERS,ROLE_ROLES,ROLE_PERMS,ROLE_SSDS,ROLE_DSDS,ROLE_POLICIES,ROLE_USEROUS,ROLE_PERMOUS,ROLE_PERMOBJS,ROLE_ADMINOBJS,ROLE_ADMINPERMS,ROLE_ADMINROLES,ROLE_AUDIT_AUTHZS,ROLE_AUDIT_MODS,ROLE_AUDIT_BINDS
 user: user,ROLE_USERS
 role: role,ROLE_ROLES
 perm: perm,ROLE_PERMS


Mime
View raw message