Package org.apache.airavata.security.userstore

Examples of org.apache.airavata.security.userstore.JDBCUserStore


                assertEquals("mysql1", ((TestDBAuthenticator1) authenticator).getDatabaseUserName());
                assertEquals("secret1", ((TestDBAuthenticator1) authenticator).getDatabasePassword());
                assertNotNull(authenticator.getUserStore());
                assertTrue(authenticator.getUserStore() instanceof JDBCUserStore);

                JDBCUserStore jdbcUserStore = (JDBCUserStore) authenticator.getUserStore();
                assertEquals("MD5", jdbcUserStore.getPasswordDigester().getHashMethod());
            } else if (authenticator instanceof TestDBAuthenticator2) {
                assertEquals("dbAuthenticator2", authenticator.getAuthenticatorName());
                assertEquals(7, authenticator.getPriority());
                assertEquals(true, authenticator.isEnabled());
                assertTrue(authenticator.getUserStore() instanceof LDAPUserStore);
View Full Code Here


                assertEquals("mysql1", ((TestDBAuthenticator1) authenticator).getDatabaseUserName());
                assertEquals("secret1", ((TestDBAuthenticator1) authenticator).getDatabasePassword());
                assertNotNull(authenticator.getUserStore());
                assertTrue(authenticator.getUserStore() instanceof JDBCUserStore);

                JDBCUserStore jdbcUserStore = (JDBCUserStore) authenticator.getUserStore();
                assertEquals("MD5", jdbcUserStore.getPasswordDigester().getHashMethod());
            } else if (authenticator instanceof TestDBAuthenticator2) {
                assertEquals("dbAuthenticator2", authenticator.getAuthenticatorName());
                assertEquals(7, authenticator.getPriority());
                assertEquals(true, authenticator.isEnabled());
                assertTrue(authenticator.getUserStore() instanceof LDAPUserStore);
View Full Code Here

TOP

Related Classes of org.apache.airavata.security.userstore.JDBCUserStore

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.